mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
It's now possible to build each module individually (as a DLL).
This commit is contained in:
@@ -86,9 +86,14 @@ namespace sdl
|
||||
|
||||
luax_register_gc(L, "love.timer", instance);
|
||||
|
||||
return luax_register_module(L, wrap_Timer_functions, 0, "timer");
|
||||
return luax_register_module(L, wrap_Timer_functions, 0, 0, "timer");
|
||||
}
|
||||
|
||||
} // sdl
|
||||
} // timer
|
||||
} // love
|
||||
|
||||
int luaopen_love_timer(lua_State * L)
|
||||
{
|
||||
return love::timer::sdl::wrap_Timer_open(L);
|
||||
}
|
||||
@@ -22,6 +22,7 @@
|
||||
#define LOVE_TIMER_SDL_WRAP_TIMER_H
|
||||
|
||||
// LOVE
|
||||
#include <common/config.h>
|
||||
#include "Timer.h"
|
||||
|
||||
namespace love
|
||||
@@ -42,4 +43,6 @@ namespace sdl
|
||||
} // timer
|
||||
} // love
|
||||
|
||||
extern "C" LOVE_EXPORT int luaopen_love_timer(lua_State * L);
|
||||
|
||||
#endif // LOVE_TIMER_SDL_WRAP_TIMER_H
|
||||
|
||||
Reference in New Issue
Block a user