Browse Source

* fix lua_alloc callback definition

git-svn-id: trunk@11653 -
Almindor 17 years ago
parent
commit
a2ff73bd8f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/lua/src/lua.pas

+ 1 - 1
packages/lua/src/lua.pas

@@ -97,7 +97,7 @@ type
 (*
 ** prototype for memory-allocation functions
 *)
-  lua_Alloc = procedure(ud, ptr: Pointer; osize, nsize: size_t); cdecl;
+  lua_Alloc = function(ud, ptr: Pointer; osize, nsize: size_t): Pointer; cdecl;
 
 (*
 ** basic types