| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- namespace XLua.LuaDLL
- {
- using System.Runtime.InteropServices;
- public partial class Lua
- {
- [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
- public static extern int luaopen_rapidjson(System.IntPtr L);
- [MonoPInvokeCallback(typeof(LuaDLL.lua_CSFunction))]
- public static int LoadRapidJson(System.IntPtr L)
- {
- return luaopen_rapidjson(L);
- }
- [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
- public static extern int luaopen_lpeg(System.IntPtr L);
- [MonoPInvokeCallback(typeof(LuaDLL.lua_CSFunction))]
- public static int LoadLpeg(System.IntPtr L)
- {
- return luaopen_lpeg(L);
- }
- [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
- public static extern int luaopen_pb(System.IntPtr L);
- [MonoPInvokeCallback(typeof(LuaDLL.lua_CSFunction))]
- public static int LoadLuaProfobuf(System.IntPtr L)
- {
- return luaopen_pb(L);
- }
- [DllImport(LUADLL, CallingConvention = CallingConvention.Cdecl)]
- public static extern int luaopen_ffi(System.IntPtr L);
- [MonoPInvokeCallback(typeof(LuaDLL.lua_CSFunction))]
- public static int LoadFFI(System.IntPtr L)
- {
- return luaopen_ffi(L);
- }
- }
- }
|