Commit graph

22 commits

Author SHA1 Message Date
qwreey
ba074d9a28
Reducing and organizing duplicated codes (#243) 2024-10-16 23:37:56 +00:00
qwreey
95258e1b51
Fix pretty-prints for type-define (#243) 2024-10-16 07:57:25 +00:00
qwreey
f094f2b74a
Remove static ctype reduce duplicated code (#243) 2024-10-16 06:35:09 +00:00
qwreey
7d4e4a24b2
Refactor type-define macro rules (#243) 2024-10-16 03:12:36 +00:00
qwreey
46dd185c6f
Implement call (#243) 2024-10-14 09:37:21 +00:00
qwreey
7ce5be248f
Add uninit ref and Implement Callable (#243) 2024-10-14 03:15:29 +00:00
qwreey
4d0fd9d80a
Implement callable and closure (#243) 2024-10-13 05:09:31 +00:00
qwreey
11bf0b6896
Remove unused codes and strange safety features (#243) 2024-10-13 05:09:31 +00:00
qwreey
c656a486c4
Add tests for ffi (#243) 2024-10-13 05:09:31 +00:00
qwreey
e23aaef8a7
Improve ffiref (#243) 2024-10-13 05:09:01 +00:00
qwreey
94d8d079c4
Add is_integer (#243) 2024-10-13 05:00:21 +00:00
qwreey
dd6a3861e5
Improve conversion performance by caching dyn handle on subtype (#243) 2024-10-13 04:54:46 +00:00
qwreey
b54ea519ba
Implement boundary check (#243) 2024-10-13 04:52:59 +00:00
qwreey
3ccb0720fd
Export ctypes and implement signedness (#243) 2024-10-13 04:30:43 +00:00
qwreey
48d2db4950
Implement luavalue conversion (#243) 2024-10-13 04:21:28 +00:00
qwreey
6d0db930f6
Implement ctype casting (#243) 2024-10-13 04:20:29 +00:00
qwreey
d60a1b99f6
Use CType<T> instead of CType (#243) 2024-10-13 04:19:18 +00:00
qwreey
26706d9355
Improve ctype export and Refactor (#243) 2024-10-13 04:16:49 +00:00
qwreey
6f131e9512
Implement chelper, ffiref, ffibox (#243) 2024-10-13 04:14:24 +00:00
qwreey
b36948cf1b
Implement carr, cstruct, ctype and cptr (#243) 2024-10-13 04:11:51 +00:00
qwreey
8c38aef32d
Implement struct and arr (#243)
struct.size: Returns a non-zero actual size
rewrite use super:: => use crate::
2024-10-13 04:09:22 +00:00
qwreey
af08c59e3b
Add lune-std-ffi crate (#243) 2024-10-13 04:07:59 +00:00