mirror of
https://github.com/love2d/love.git
synced 2026-08-12 16:40:57 +02:00
Several love.data functions now take an enum ("data" or "string") to determine whether they return a Data object or a string.
Changed functions are love.data.compress, decompress, encode, decode, and pack.
This commit is contained in:
@@ -23,12 +23,14 @@
|
||||
// LOVE
|
||||
#include "common/config.h"
|
||||
#include "common/runtime.h"
|
||||
#include "DataModule.h"
|
||||
|
||||
namespace love
|
||||
{
|
||||
namespace data
|
||||
{
|
||||
|
||||
ContainerType luax_checkcontainertype(lua_State *L, int idx);
|
||||
int w_compress(lua_State *L);
|
||||
int w_decompress(lua_State *L);
|
||||
extern "C" LOVE_EXPORT int luaopen_love_data(lua_State *L);
|
||||
|
||||
Reference in New Issue
Block a user