Support for 64-bit constants (uint64_t for example in code)?

  • From: Dimiter 'malkia' Stanev <malkia@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Fri, 12 Oct 2012 14:01:05 -0700

Hi Mike,

How hard would it be to have support for 64-bit constants in code, e.g. for this to work:

ffi.cdef[[
  const uint64_t test123 = 123;
]]

I don't require the actual literal value (123 that is) be to 64-bit, but the actual value must be.

Thanks,
Dimiter 'malkia' Stanev.

Other related posts: