浏览代码

* fix lua_alloc callback definition

git-svn-id: trunk@11653 -
Almindor 17 年之前
父节点
当前提交
a2ff73bd8f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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