Crate rglua_macros

Source

Attribute Macros§

  • Creates the exitpoint to garrysmod. Compiles down to gmod13_close.
  • Creates the entrypoint to garrysmod. Compiles down to gmod13_open.
  • Creates a valid function to be passed down to lua. Note this function will not be registered automatically for you, you must use luaL_register or functions like lua_pushcfunction. This may change in the future or allow for something like #[lua_function(name = “foo”, auto = true)]