physfs.h
changeset 691 71d9affe0d8a
parent 687 f76dffa43fa2
child 724 59b7f0c2c5c0
--- a/physfs.h	Mon Mar 14 11:48:29 2005 +0000
+++ b/physfs.h	Mon Mar 14 11:49:30 2005 +0000
@@ -1861,11 +1861,11 @@
  */
 typedef struct
 {
-    int (*init)(void);
-    void (*deinit)(void);
-    void *(*malloc)(size_t);
-    void *(*realloc)(void *, size_t);
-    void (*free)(void *);
+    int (*Init)(void);
+    void (*Deinit)(void);
+    void *(*Malloc)(size_t);
+    void *(*Realloc)(void *, size_t);
+    void (*Free)(void *);
 } PHYSFS_Allocator;
 
 
@@ -1876,6 +1876,8 @@
  * (This is for limited, hardcore use. If you don't immediately see a need
  *  for it, you can probably ignore this forever.)
  *
+ *  !!! FIXME: don't promise C runtime malloc.
+ *
  * By default, PhysicsFS will use ANSI C malloc/realloc/calloc/free calls
  *  to manage dynamic memory, but in some uncommon cases, the app might want
  *  more control over the library's memory management. This lets you redirect