28 Commits

Author SHA1 Message Date
36300b07d3
Fix __eq metamethods throwing on type mismatch 2025-06-28 11:10:29 +10:00
db9d611ff7
Use raw equality for nil comparisons 2025-06-28 09:51:50 +10:00
ef811ecfa9
Use faster fxhashset in registry 2025-06-28 06:06:39 +10:00
d9ef6c7806
All internal library functions should be prefixed 2025-06-28 06:03:12 +10:00
27c40c3244
All library functions no longer require self 2025-06-28 05:58:29 +10:00
ccae0046fb
Improve cdef loading time by trimming unnecessary ctype caching 2025-06-28 05:29:19 +10:00
e05e2f4cb3
Implement the foundations for annotation generation 2025-06-28 04:15:27 +10:00
0cafac0948
Let modules decide their own name via #[cdef] macro 2025-06-26 17:47:21 +10:00
1c1753234d
Rename MetatypeMethodBuilder to MetatypeFunctionBuilder 2025-06-26 17:12:00 +10:00
88ab48cddb
Modules should be registered in luby not lb 2025-06-26 13:46:39 +10:00
2fe9515702
Add newlines in generated cdef for readability 2025-06-26 13:06:39 +10:00
30596d9331
Impl generic From/IntoFfi for Option 2025-06-25 21:24:24 +10:00
98100d02fa
Implement string parameter specialisation 2025-06-25 18:42:09 +10:00
681dd332ab
Avoid unnecessarily coping result inner value if it doesn't require ownership 2025-06-25 16:39:47 +10:00
2352cb0225
Implement async support in metatype 2025-06-25 01:36:43 +10:00
3dd375b071
Refactor luaffi proc-macro 2025-06-24 19:30:39 +10:00
f8e7b8ae62
Implement IntoFfi for Strings 2025-06-24 13:03:40 +10:00
45db380466
Rename ToFfi to IntoFfi 2025-06-24 11:42:11 +10:00
cadf0a8551
Update luaffi 2025-06-24 10:37:28 +10:00
2352ba66d4
Make an UnsafeExternCFn struct to overcome fn pointer hrtb 2025-06-23 17:40:18 +10:00
fae1c6e162
Rename CDef to Cdef 2025-06-23 09:27:15 +10:00
40478fb7de
Add ctype new support 2025-06-22 18:41:19 +10:00
0667f79ff5
Working 2025-06-22 15:11:37 +10:00
06d3eebaa1
Working commit 2025-06-20 21:48:23 +10:00
94e1cf2eb0
Working commit 2025-06-20 11:21:38 +10:00
1ebeaa9e95
Use assert for type checking 2025-06-19 21:38:34 +10:00
16ab2be6f4
Add ffi crate 2025-06-19 17:02:12 +10:00
f09f27f553
Initial commit 2025-06-17 11:23:59 +10:00