V25 with 64-bit support
[pforth] / csrc / pf_text.h
index dfb4665..7cbe97d 100644 (file)
@@ -41,6 +41,7 @@
 #define PF_ERR_OUT_OF_RANGE    (PF_ERR_BASE | 18)\r
 #define PF_ERR_ENDIAN_CONFLICT (PF_ERR_BASE | 19)\r
 #define PF_ERR_FLOAT_CONFLICT  (PF_ERR_BASE | 20)\r
 #define PF_ERR_OUT_OF_RANGE    (PF_ERR_BASE | 18)\r
 #define PF_ERR_ENDIAN_CONFLICT (PF_ERR_BASE | 19)\r
 #define PF_ERR_FLOAT_CONFLICT  (PF_ERR_BASE | 20)\r
+#define PF_ERR_CELL_SIZE_CONFLICT (PF_ERR_BASE | 21)\r
 /* If you add an error code here, also add a text message in "pf_text.c". */\r
 \r
 #ifdef __cplusplus\r
 /* If you add an error code here, also add a text message in "pf_text.c". */\r
 \r
 #ifdef __cplusplus\r
@@ -53,12 +54,12 @@ void pfReportThrow( ThrowCode code );
 char  *ForthStringToC( char *dst, const char *FString );\r
 char  *CStringToForth( char *dst, const char *CString );\r
 \r
 char  *ForthStringToC( char *dst, const char *FString );\r
 char  *CStringToForth( char *dst, const char *CString );\r
 \r
-int32 ffCompare( const char *s1, int32 len1, const char *s2, int32 len2 );\r
-int32 ffCompareText( const char *s1, const char *s2, int32 len );\r
-int32 ffCompareTextCaseN( const char *s1, const char *s2, int32 len );\r
+cell_t ffCompare( const char *s1, cell_t len1, const char *s2, int32_t len2 );\r
+cell_t ffCompareText( const char *s1, const char *s2, cell_t len );\r
+cell_t ffCompareTextCaseN( const char *s1, const char *s2, cell_t len );\r
 \r
 \r
-void  DumpMemory( void *addr, int32 cnt);\r
-char *ConvertNumberToText( int32 Num, int32 Base, int32 IfSigned, int32 MinChars );\r
+void  DumpMemory( void *addr, cell_t cnt);\r
+char *ConvertNumberToText( cell_t Num, cell_t Base, int32_t IfSigned, int32_t MinChars );\r
 void  TypeName( const char *Name );\r
 \r
 #ifdef __cplusplus\r
 void  TypeName( const char *Name );\r
 \r
 #ifdef __cplusplus\r