mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
It's now possible to build each module individually (as a DLL).
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#define LOVE_IMAGE_IMAGE_H
|
||||
|
||||
// LOVE
|
||||
#include <common/config.h>
|
||||
#include <common/Module.h>
|
||||
#include <filesystem/File.h>
|
||||
#include <font/GlyphData.h>
|
||||
|
||||
@@ -80,8 +80,13 @@ namespace image
|
||||
|
||||
luax_register_gc(L, "love.image", instance);
|
||||
|
||||
return luax_register_module(L, wrap_Image_functions, wrap_Image_types, "image");
|
||||
return luax_register_module(L, wrap_Image_functions, wrap_Image_types, 0, "image");
|
||||
}
|
||||
|
||||
} // image
|
||||
} // love
|
||||
|
||||
int luaopen_love_image(lua_State * L)
|
||||
{
|
||||
return love::image::wrap_Image_open(L);
|
||||
}
|
||||
@@ -37,3 +37,5 @@ namespace image
|
||||
} // love
|
||||
|
||||
#endif // LOVE_IMAGE_WRAP_IMAGE_H
|
||||
|
||||
extern "C" LOVE_EXPORT int luaopen_love_image(lua_State * L);
|
||||
|
||||
Reference in New Issue
Block a user