V25 with 64-bit support
[pforth] / csrc / pf_cglue.h
index 530c2f4..c3ddc87 100644 (file)
 **\r
 ***************************************************************/\r
 \r
 **\r
 ***************************************************************/\r
 \r
-typedef cell (*CFunc0)( void );\r
-typedef cell (*CFunc1)( cell P1 );\r
-typedef cell (*CFunc2)( cell P1, cell P2 );\r
-typedef cell (*CFunc3)( cell P1, cell P2, cell P3 );\r
-typedef cell (*CFunc4)( cell P1, cell P2, cell P3, cell P4 );\r
-typedef cell (*CFunc5)( cell P1, cell P2, cell P3, cell P4, cell P5 );\r
+typedef cell_t (*CFunc0)( void );\r
+typedef cell_t (*CFunc1)( cell_t P1 );\r
+typedef cell_t (*CFunc2)( cell_t P1, cell_t P2 );\r
+typedef cell_t (*CFunc3)( cell_t P1, cell_t P2, cell_t P3 );\r
+typedef cell_t (*CFunc4)( cell_t P1, cell_t P2, cell_t P3, cell_t P4 );\r
+typedef cell_t (*CFunc5)( cell_t P1, cell_t P2, cell_t P3, cell_t P4, cell_t P5 );\r
 \r
 #ifdef __cplusplus\r
 extern "C" {\r
 #endif\r
 \r
 \r
 #ifdef __cplusplus\r
 extern "C" {\r
 #endif\r
 \r
-Err   CreateGlueToC( const char *CName, uint32 Index, int32 ReturnMode, int32 NumParams );\r
+Err   CreateGlueToC( const char *CName, ucell_t Index, cell_t ReturnMode, int32_t NumParams );\r
 Err   CompileCustomFunctions( void );\r
 Err   LoadCustomFunctionTable( void );\r
 Err   CompileCustomFunctions( void );\r
 Err   LoadCustomFunctionTable( void );\r
-int32 CallUserFunction( int32 Index, int32 ReturnMode, int32 NumParams );\r
+cell_t CallUserFunction( cell_t Index, int32_t ReturnMode, int32_t NumParams );\r
 \r
 #ifdef __cplusplus\r
 }   \r
 \r
 #ifdef __cplusplus\r
 }   \r