mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Removed vestigial internal code for Data:getPointer
This commit is contained in:
@@ -52,7 +52,6 @@ static const luaL_Reg w_FileData_functions[] =
|
||||
{
|
||||
|
||||
// Data
|
||||
// { "getPointer", w_Data_getPointer },
|
||||
{ "getSize", w_Data_getSize },
|
||||
|
||||
{ "getFilename", w_FileData_getFilename },
|
||||
|
||||
@@ -32,7 +32,6 @@ GlyphData *luax_checkglyphdata(lua_State *L, int idx)
|
||||
|
||||
static const luaL_Reg functions[] =
|
||||
{
|
||||
// { "getPointer", w_Data_getPointer },
|
||||
{ "getSize", w_Data_getSize },
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
@@ -109,7 +109,6 @@ int w_CompressedData_getType(lua_State *L)
|
||||
static const luaL_Reg functions[] =
|
||||
{
|
||||
// Data
|
||||
// { "getPointer", w_Data_getPointer },
|
||||
{ "getSize", w_Data_getSize },
|
||||
|
||||
{ "getWidth", w_CompressedData_getWidth },
|
||||
|
||||
@@ -191,7 +191,6 @@ int w_ImageData_encode(lua_State *L)
|
||||
static const luaL_Reg functions[] =
|
||||
{
|
||||
// Data
|
||||
// { "getPointer", w_Data_getPointer },
|
||||
{ "getSize", w_Data_getSize },
|
||||
|
||||
{ "getWidth", w_ImageData_getWidth },
|
||||
|
||||
@@ -88,7 +88,6 @@ static const luaL_Reg functions[] =
|
||||
{
|
||||
|
||||
// Data
|
||||
// { "getPointer", w_Data_getPointer },
|
||||
{ "getSize", w_Data_getSize },
|
||||
|
||||
{ "getChannels", w_SoundData_getChannels },
|
||||
|
||||
@@ -31,7 +31,6 @@ namespace sound
|
||||
{
|
||||
|
||||
SoundData *luax_checksounddata(lua_State *L, int idx);
|
||||
int w_getPointer(lua_State *L);
|
||||
int w_getSize(lua_State *L);
|
||||
int w_getChannels(lua_State *L);
|
||||
int w_getBits(lua_State *L);
|
||||
|
||||
Reference in New Issue
Block a user