Commit Graph

34 Commits

Author SHA1 Message Date
e05e2f4cb3 Implement the foundations for annotation generation 2025-06-28 04:15:27 +10:00
9338be7eb0 Add many lua annotation 2025-06-26 19:25:03 +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
f456a544e1 Disable all lualsp diagnostics in lib.lua 2025-06-26 13:05:50 +10:00
da5acd6bc8 Add stab tag for metamethods 2025-06-26 00:39:22 +10:00
cbb47840e4 Alias stub types to rust types where possible 2025-06-25 23:16:42 +10:00
85a0110e1a Disable warnings in luaffi lib.lua 2025-06-25 22:19:17 +10:00
c249549b3c Fix unknown feature warning 2025-06-25 21:25:02 +10:00
30596d9331 Impl generic From/IntoFfi for Option 2025-06-25 21:24:24 +10:00
a81271c0a8 No need to specify versions for local dependencies 2025-06-25 20:09:01 +10:00
82726ebb5d Set author and homepage for all packages 2025-06-25 19:57:58 +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
122ef04b16 Allow documenting of extern "Lua" functions 2025-06-24 22:23:26 +10:00
1aa9b4aa02 Implement IntoFfi for Result 2025-06-24 22:22:58 +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
5be3f2970c Add signature check to lua_pollable 2025-06-21 06:04:50 +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
1c821d8804 Implement metatype proc-macro 2025-06-19 20:38:40 +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