Commit Graph

34 Commits

Author SHA1 Message Date
99aa11e903 Rename Annotation trait to Annotate 2025-06-30 15:20:40 +10:00
36300b07d3 Fix __eq metamethods throwing on type mismatch 2025-06-28 11:10:29 +10:00
c760d12c39 Rewrite stab generation to be more extensible 2025-06-28 07:58:52 +10:00
d9ef6c7806 All internal library functions should be prefixed 2025-06-28 06:03:12 +10:00
e05e2f4cb3 Implement the foundations for annotation generation 2025-06-28 04:15:27 +10:00
5f1f6dab7a Improve doc 2025-06-27 23:47:52 +10:00
a760beabc1 Extern "Lua" functions should be able to act as constructors 2025-06-27 23:04:05 +10:00
862fcfe891 Add links to lua pdf in metamethod doc 2025-06-26 23:08:28 +10:00
d2e06c9a70 Add stab tag for async functions 2025-06-26 22:58:30 +10:00
9338be7eb0 Add many lua annotation 2025-06-26 19:25:03 +10:00
240e0111bf Fix lua finaliser parameter check 2025-06-26 19:24:19 +10:00
24c5e9edc2 Include lb_tasklib::spawn in globals 2025-06-26 17:52:31 +10:00
0cafac0948 Let modules decide their own name via #[cdef] macro 2025-06-26 17:47:21 +10:00
da5acd6bc8 Add stab tag for metamethods 2025-06-26 00:39:22 +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
af3dbe60cb Add Lua and FFI tags to documentation 2025-06-25 15:46:17 +10:00
e0898c22a0 Add basic fs lib 2025-06-25 10:40:36 +10:00
2352cb0225 Implement async support in metatype 2025-06-25 01:36:43 +10:00
ee64b22510 Convert lua return types to stubs as well 2025-06-24 22:49:18 +10:00
122ef04b16 Allow documenting of extern "Lua" functions 2025-06-24 22:23:26 +10:00
3dd375b071 Refactor luaffi proc-macro 2025-06-24 19:30:39 +10:00
45db380466 Rename ToFfi to IntoFfi 2025-06-24 11:42:11 +10:00
7548c68c7c Add more documentation on why to use out-param 2025-06-24 10:36:42 +10:00
2352ba66d4 Make an UnsafeExternCFn struct to overcome fn pointer hrtb 2025-06-23 17:40:18 +10:00
066b4e7564 Remove unused module macro 2025-06-23 09:26:16 +10:00
c3fb3407c4 Unraw idents 2025-06-23 07:18:16 +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
f9676a1436 Automatically generate drop for #[metatype] 2025-06-19 23:07:53 +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