Mike Pall
|
f2a1cd4328
|
FFI: Fix __tostring metamethod access to enum cdata value.
Thanks to Sergey Kaplun. #1232
|
2024-07-03 23:43:57 +02:00 |
|
Mike Pall
|
158a284cc9
|
Bump copyright date.
|
2023-08-20 21:25:30 +02:00 |
|
Mike Pall
|
4c35a42d9c
|
FFI: Fix ffi.metatype() for non-raw types.
Reported by 999pingGG. #1005
|
2023-07-08 19:30:56 +02:00 |
|
Mike Pall
|
36b2962d40
|
FFI: Fix ffi.alignof() for reference types.
Reported by Eric Gouyer.
|
2022-07-13 00:32:04 +02:00 |
|
Mike Pall
|
27a6fee82e
|
FFI: Allow ffi.metatype() for typedefs with attributes.
Reported by Eric Gouyer.
|
2022-07-13 00:30:23 +02:00 |
|
Mike Pall
|
c4dfb625ba
|
Bump copyright date.
|
2022-01-15 19:30:54 +01:00 |
|
Mike Pall
|
f47c864b01
|
Bump copyright date.
|
2021-01-02 21:49:41 +01:00 |
|
Mike Pall
|
cc4bbec483
|
FFI: Always fall back to metamethods for cdata length/concat.
Thanks to Egor Skriptunoff.
|
2020-05-08 13:50:41 +02:00 |
|
Mike Pall
|
38a5ed4b43
|
Bump copyright date.
|
2020-01-20 23:26:51 +01:00 |
|
Mike Pall
|
b03a56f28e
|
FFI: Don't assert on #1LL (5.2 compatibility mode only).
Reported by Denis Golovan.
|
2018-01-29 12:47:08 +01:00 |
|
Mike Pall
|
3ab9f5a18d
|
Remove internal __mode = "K" and replace with safe check.
|
2017-03-08 22:03:17 +01:00 |
|
Mike Pall
|
b93a1dd0c8
|
Bump copyright date to 2017.
|
2017-01-17 12:35:03 +01:00 |
|
Mike Pall
|
db1b399af1
|
Bump copyright date to 2016.
|
2016-03-03 12:02:22 +01:00 |
|
Mike Pall
|
86913b9bbf
|
Bump copyright date to 2015.
|
2015-01-05 23:59:31 +01:00 |
|
Mike Pall
|
66515a054c
|
FFI: Fix __index/__newindex metamethod resolution for ctypes.
|
2014-08-05 20:15:52 +02:00 |
|
Mike Pall
|
ef59e54820
|
Bump copyright date to 2014.
|
2014-01-16 23:10:16 +01:00 |
|
Mike Pall
|
93c2b939bd
|
FFI: Fix argument checks for ffi.string().
|
2013-09-08 03:09:39 +02:00 |
|
Mike Pall
|
23aa02fb51
|
FFI: Ignore CTF_LONG in ffi.istype().
|
2013-05-13 10:20:59 +02:00 |
|
Mike Pall
|
4a44c4ff69
|
Bump copyright date to 2013.
|
2013-02-11 12:54:48 +01:00 |
|
Mike Pall
|
0b55e05d06
|
FFI: Compile ffi.gc().
|
2012-10-10 18:56:16 +02:00 |
|
Mike Pall
|
1c626112a0
|
FFI: Compile ffi.sizeof(), ffi.alignof() and ffi.offsetof().
|
2012-10-10 18:16:18 +02:00 |
|
Mike Pall
|
0648fd47cb
|
FFI: Handle __pairs/__ipairs metamethods for cdata objects.
|
2012-09-03 21:11:08 +02:00 |
|
Mike Pall
|
2717623e3a
|
FFI: Compile ffi.typeof(cdata).
Thanks to Robert G. Jakabosky.
|
2012-08-08 21:01:36 +02:00 |
|
Mike Pall
|
806822b70b
|
FFI: Improve error message for bad indexing attempts.
|
2012-08-05 17:26:01 +02:00 |
|
Mike Pall
|
4d9c29a78c
|
FFI: Box all accessed or returned enums.
|
2012-07-17 22:22:07 +02:00 |
|
Mike Pall
|
0e2f5be140
|
FFI: Show address pointed to for tostring(ref), too.
|
2012-07-12 14:19:27 +02:00 |
|
Mike Pall
|
17d3fc47f3
|
Avoid pesky compiler warnings about C++ keywords (eh?).
|
2012-07-03 13:19:32 +02:00 |
|
Mike Pall
|
8b71ab1080
|
FFI: Check for __new metamethod when calling a constructor.
|
2012-06-20 18:28:25 +02:00 |
|
Mike Pall
|
946c7418d5
|
FFI: Add support for parameterized C types.
|
2012-06-14 19:54:07 +02:00 |
|
Mike Pall
|
10ef109eef
|
Bump copyright date to 2012.
|
2012-01-23 22:42:42 +01:00 |
|
Mike Pall
|
e3c7476533
|
FFI: Record ffi.errno().
|
2011-11-26 16:56:09 +01:00 |
|
Mike Pall
|
71d00a56db
|
FFI: Add callback support (for x86/x64).
|
2011-11-14 14:18:25 +01:00 |
|
Mike Pall
|
ae79ff4e53
|
FFI: Resolve __call metamethod for pointers, too.
|
2011-11-14 12:01:48 +01:00 |
|
Mike Pall
|
120c3adbff
|
FFI: Record loads/stores to external variables in namespaces.
|
2011-10-11 20:58:04 +02:00 |
|
Mike Pall
|
287de611a2
|
FFI: Support __tostring metamethod for pointers to structs, too.
|
2011-06-11 18:30:22 +02:00 |
|
Mike Pall
|
a7ca722dca
|
FFI: Show address pointed to for tostring(pointer).
|
2011-06-07 20:57:32 +02:00 |
|
Mike Pall
|
d9c1f771a7
|
FFI: Allow setting errno with ffi.errno(), too.
|
2011-05-09 11:52:54 +02:00 |
|
Mike Pall
|
868ecad32b
|
FFI: Add ffi.errno().
|
2011-05-08 22:34:40 +02:00 |
|
Mike Pall
|
5d096dcfde
|
FFI: Add ffi.istype() function.
|
2011-04-20 01:53:26 +02:00 |
|
Mike Pall
|
3b6f37dd2c
|
FFI: Add ctype metamethods and ffi.metatype().
|
2011-04-12 19:16:39 +02:00 |
|
Mike Pall
|
ee644872e3
|
FFI: Register the FFI library as a loaded module in luaopen_ffi().
Allows loading it on startup like other libraries in lib_init.c.
|
2011-04-06 01:31:21 +02:00 |
|
Mike Pall
|
83a37aeca7
|
FFI: Add ffi.gc() function for finalization of cdata objects.
|
2011-02-28 16:48:13 +01:00 |
|
Mike Pall
|
bd29d16141
|
FFI: Improve conversion error messages.
|
2011-02-19 12:56:12 +01:00 |
|
Mike Pall
|
c39ca7c35b
|
FFI: Record ffi.abi().
|
2011-02-08 00:09:33 +01:00 |
|
Mike Pall
|
7a37b93f1b
|
FFI: Record ffi.copy() and ffi.fill().
|
2011-02-07 23:49:27 +01:00 |
|
Mike Pall
|
51e8fe9cf0
|
FFI: Allow cdata types for integer arguments of ffi.* functions.
|
2011-02-07 17:13:14 +01:00 |
|
Mike Pall
|
ceece4d13e
|
FFI: Perform stricter checks in ffi.cast(). Record ffi.cast().
|
2011-02-06 12:46:18 +01:00 |
|
Mike Pall
|
14f5103764
|
FFI: Record C library namespace lookups.
|
2011-02-05 14:16:16 +01:00 |
|
Mike Pall
|
c29ed4dbbf
|
FFI: Record ffi.string().
|
2011-02-05 01:05:56 +01:00 |
|
Mike Pall
|
2c8945d3e7
|
Use names defined in lualib.h for library registration.
|
2011-02-02 02:38:59 +01:00 |
|