appletmemory.h

Go to the documentation of this file.
00001 
00002 /*  $Id: appletmemory.h 1186 2006-04-03 13:06:44Z hasseily $    */
00003 
00004 /* copyright 1991-96 UserLand Software, Inc. All Rights Reserved.*/
00005 
00006 
00007 #ifdef isFrontier
00008 
00009     /* TRT - 20 Mar 2005 - 10.1a2 - take advantage of Frontier memory management (debugging) */
00010     #include "memory.h"
00011 
00012     boolean pushhandleonhandle (Handle, Handle);
00013 
00014     boolean pushathandlestart (ptrvoid, long, Handle);
00015 
00016 #elif !defined(appletmemoryinclude)
00017 #define appletmemoryinclude
00018 
00019 
00020 #ifndef appletdefsinclude
00021 
00022     #include "appletdefs.h"
00023     
00024 #endif
00025 
00026 #ifndef shelltypesinclude
00027 
00028     typedef short **hdlintarray;
00029 
00030 #endif
00031 
00032 
00033 boolean equalmemory (void *, void *, long);
00034 
00035 boolean equalhandles (Handle, Handle);
00036 
00037 void moveleft (void *, void *, long);
00038 
00039 void moveright (void *, void *, long);
00040 
00041 void clearbytes (void *, long);
00042 
00043 boolean loadfromhandle (Handle, long *, long, void *);
00044 
00045 boolean loadhandlefromhandle (Handle, long *, long, Handle *);
00046 
00047 long gethandlesize (Handle);
00048 
00049 boolean sethandlesize (Handle, long);
00050 
00051 void disposehandle (Handle);
00052 
00053 boolean newtexthandle (void *, Handle *);
00054 
00055 boolean pushtexthandle (void *, Handle);
00056 
00057 boolean pushhandleonhandle (Handle, Handle);
00058 
00059 boolean enlargehandle (Handle, long, void *);
00060 
00061 boolean pushathandlestart (ptrvoid, long, Handle);
00062 
00063 boolean getnewhandle (unsigned long, Handle *h);
00064 
00065 boolean newemptyhandle (Handle *);
00066 
00067 Handle appnewhandle (Size);
00068 
00069 unsigned long memavail (void);
00070 
00071 boolean copyhandle (Handle, Handle *);
00072 
00073 void texthandletostring (Handle, void *);
00074 
00075 void lockhandle (Handle);
00076 
00077 void unlockhandle (Handle);
00078 
00079 boolean newheapstring (ptrstring, hdlstring *);
00080 
00081 void copyheapstring (hdlstring, void *);
00082 
00083 boolean newclearhandle (long, Handle *);
00084 
00085 boolean newfilledhandle (ptrvoid, long, Handle *);
00086 
00087 boolean sethandlecontents (void *, long, Handle);
00088 
00089 boolean testheapspace (long);
00090 
00091 boolean minhandlesize (Handle, long);
00092 
00093 boolean newintarray (short, hdlintarray *);
00094 
00095 boolean setintarray (hdlintarray, short, short);
00096 
00097 boolean getintarray (hdlintarray, short, short *);
00098 
00099 void fillintarray (hdlintarray, short);
00100 
00101 boolean numbertotexthandle (long, Handle *);
00102 
00103 void texthandletonumber (Handle, long *, boolean *);
00104 
00105 boolean popfromhandle (Handle, long, ptrvoid);
00106 
00107 boolean insertinhandle (bigstring, Handle, unsigned long);
00108 
00109 boolean inserthandleinhandle (Handle, Handle, unsigned long);
00110 
00111 void deleteinhandle (Handle, unsigned long, unsigned long);
00112 
00113 boolean handlesearch (Handle, bigstring, boolean, unsigned long *);
00114 
00115 boolean handlereplaceall (Handle, bigstring, Handle);
00116 
00117 long handlepatternmatch (void *, Handle);
00118 
00119 boolean getstringfromhandle (Handle, unsigned long, unsigned long, bigstring);
00120 
00121 #endif

Generated on Wed May 31 18:19:43 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6