[Scummvm-cvs-logs] SF.net SVN: scummvm: [26689] scummvm/trunk/backends/platform/PalmOS/Src/ native
chrilith at users.sourceforge.net
chrilith at users.sourceforge.net
Tue May 1 11:34:56 CEST 2007
Revision: 26689
http://scummvm.svn.sourceforge.net/scummvm/?rev=26689&view=rev
Author: chrilith
Date: 2007-05-01 02:34:53 -0700 (Tue, 01 May 2007)
Log Message:
-----------
Cleanup, now part of an external library
Modified Paths:
--------------
scummvm/trunk/backends/platform/PalmOS/Src/native/pnoARM.c
scummvm/trunk/backends/platform/PalmOS/Src/native/zodiacStartup.cpp
Modified: scummvm/trunk/backends/platform/PalmOS/Src/native/pnoARM.c
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/native/pnoARM.c 2007-05-01 09:31:58 UTC (rev 26688)
+++ scummvm/trunk/backends/platform/PalmOS/Src/native/pnoARM.c 2007-05-01 09:34:53 UTC (rev 26689)
@@ -56,29 +56,4 @@
return PilotMain(sysAppLaunchCmdNormalLaunch, userData68KP, 0);
}
- //
- // The following functions provide malloc/free support to Metrowerks
- // Standard Library (MSL). This feature requires the MSL library be
- // built with _MSL_OS_DIRECT_MALLOC enabled.
- //
-void*
-__sys_alloc(UInt32 size)
-{
- void * ptr = malloc(size);
- ErrFatalDisplayIf(ptr == NULL, "out of memory");
- return ptr;
-}
-
-void
-__sys_free(void* ptr)
-{
- (void) MemPtrFree(ptr);
-}
-
-UInt32
-__sys_pointer_size(void* ptr)
-{
- return (UInt32) MemPtrSize(ptr);
-}
-
#endif
Modified: scummvm/trunk/backends/platform/PalmOS/Src/native/zodiacStartup.cpp
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/native/zodiacStartup.cpp 2007-05-01 09:31:58 UTC (rev 26688)
+++ scummvm/trunk/backends/platform/PalmOS/Src/native/zodiacStartup.cpp 2007-05-01 09:34:53 UTC (rev 26689)
@@ -101,31 +101,6 @@
}
/*
- * The following functions provide malloc/free support to Metrowerks
- * Standard Library (MSL). This feature requires the MSL library be
- * built with _MSL_OS_DIRECT_MALLOC enabled.
- */
-void*
-__sys_alloc(size_t size)
-{
- void * ptr = MemPtrNew(size);
- ErrFatalDisplayIf(ptr == NULL, "out of memory");
- return ptr;
-}
-
-void
-__sys_free(void* ptr)
-{
- (void) MemPtrFree(ptr);
-}
-
-size_t
-__sys_pointer_size(void* ptr)
-{
- return (size_t) MemPtrSize(ptr);
-}
-
-/*
* This is the real entrypoint for Tapwave Native Application. It
* depends on various CodeWarrior 9.2 compiler/linker/runtime features.
*/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list