[ctypes-commit] ctypes/source callbacks.c,1.63,1.64
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2004-10-20 17:51:33
|
Update of /cvsroot/ctypes/ctypes/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29767 Modified Files: callbacks.c Log Message: Was allocating too much memory. Index: callbacks.c =================================================================== RCS file: /cvsroot/ctypes/ctypes/source/callbacks.c,v retrieving revision 1.63 retrieving revision 1.64 diff -C2 -d -r1.63 -r1.64 *** callbacks.c 20 Oct 2004 17:29:26 -0000 1.63 --- callbacks.c 20 Oct 2004 17:51:23 -0000 1.64 *************** *** 274,278 **** return NULL; } ! p->pcl = MallocExecMem(sizeof(ffi_info)); for (i = 0; i < nArgs; ++i) { --- 274,278 ---- return NULL; } ! p->pcl = MallocExecMem(sizeof(ffi_closure)); for (i = 0; i < nArgs; ++i) { |