Commit Graph

40 Commits

Author SHA1 Message Date
William Venner 419980b6ff include_str doesnt really work here 2021-10-21 15:16:44 +01:00
William Venner 76362dccc8 `#[inline]` -> `#[inline(always)]` 2021-10-21 15:16:44 +01:00
William Venner 8d0bacec52 Replace lazy_static Lua Shared struct with a much faster single-threaded abstraction 2021-10-21 15:16:40 +01:00
William Venner 50f1bcb851 Improve README 2021-10-20 22:44:59 +01:00
William Venner d411658966 Clean up the debug related functions 2021-10-10 20:04:12 +01:00
William Venner 8c554cfad9 Remove std::fmt::Debug from LuaDebug as it crashes a lot, make i_ci pub 2021-10-10 20:03:43 +01:00
William Venner d1413ea013 Add `lua_topointer` 2021-10-10 19:59:54 +01:00
William Venner eea1e4b15d Export LuaDebug 2021-10-09 01:09:10 +01:00
William Venner 4acec5adf2 Add `lua_stack_guard` macro 2021-10-06 18:24:12 +01:00
William Venner 6ebb763f14 Add some networking helpers 2021-10-06 18:23:09 +01:00
William Venner 2b94d70a38 Fix more macro hygiene 2021-10-06 18:22:55 +01:00
William Venner 9d9d3953ff fn_abi v0.1.2 -> v2.0.0 2021-09-27 01:43:20 +01:00
William Venner 0b29590eba Re-export `fn_has_this` and update dependencies 2021-09-26 18:15:19 +01:00
William Venner 3d824932dd Reexport utility macros, remove unclear and annoying macros 2021-09-24 00:38:14 +01:00
William Venner 0148e6df88 Fix open_library macros on linux32 2021-09-22 04:18:34 +01:00
William Venner be444b8d52 bump version 2021-09-22 01:14:57 +01:00
William 3ae5aa4652
Merge pull request #2 from Srlion/master
Add luaL_newstate
2021-09-21 18:55:22 +01:00
Srlion 50a07d1b5d Add luaL_newstate 2021-09-21 19:35:28 +02:00
William Venner 460cb0920f dump_stack can now read boolean and number types 2021-09-21 18:18:43 +01:00
William Venner d47174601a add some lua bindings 2021-09-21 18:13:19 +01:00
William Venner 59e396858c Allow specifying visiblity and function name for __callingconv_func 2021-09-21 18:12:52 +01:00
William Venner db54af6c41 make fields pub 2021-09-20 22:13:21 +01:00
William Venner 85e6f12612 fix incorrect type 2021-09-20 20:34:50 +01:00
William Venner 7ed864a789 Merge branch 'master' of https://github.com/WilliamVenner/gmod-rs 2021-09-20 20:08:42 +01:00
William Venner b916d3ba19 Add better userdata api and type coercion, add Vector and Angle types 2021-09-20 20:08:01 +01:00
William Venner 27857866c8 Add macro to define a function and type alias with fake calling convention attributes per platform 2021-09-20 20:07:46 +01:00
William ac09fe59ea
Merge pull request #1 from Srlion/master
Add load_buffer to load bytecode
2021-09-20 19:16:12 +01:00
Srlion d9f9c0a529 Add load_buffer to load bytecode 2021-09-20 18:40:48 +02:00
William Venner e47f7409e7 better macro hygiene 2021-09-19 22:44:35 +01:00
William Venner bea6748666 make those fields public 2021-09-18 19:42:18 +01:00
William Venner 6fb845afbe check_userdata now returns a *mut UserData C struct ptr 2021-09-18 19:33:54 +01:00
William Venner 3b74aa03e8 Fix mutability of userdata void* pointer 2021-09-18 19:18:19 +01:00
William Venner 761b2b050a Fix `is_x86_64` on Linux 32-bit x86-64 server 2021-09-18 13:41:58 +01:00
William Venner c7f08b5c7a Fix @EXPORT symbol macro 2021-09-17 18:22:10 +01:00
William Venner 0bfbaed1dd cargo update 2021-09-17 18:16:17 +01:00
William Venner 34e9b20640 Publish 2021-09-17 18:08:22 +01:00
William Venner 594152e7fd Add missing `#[no_mangle]` to `gmod13_close` 2021-09-12 04:28:26 +01:00
William Venner 36dc7fe6ea Add some utility stuff 2021-09-11 02:07:38 +01:00
William Venner 9ae3c1a18c Add some wacky macros 2021-09-10 18:09:31 +01:00
William Venner 6a3f374c96 Initial commit 2021-09-09 21:50:58 +01:00