Add support for WATCOMC
[pforth] / csrc / pf_text.h
index 7cbe97d..29e0218 100644 (file)
@@ -51,8 +51,8 @@ extern "C" {
 void pfReportError( const char *FunctionName, Err ErrCode );\r
 void pfReportThrow( ThrowCode code );\r
 \r
 void pfReportError( const char *FunctionName, Err ErrCode );\r
 void pfReportThrow( ThrowCode code );\r
 \r
-char  *ForthStringToC( char *dst, const char *FString );\r
-char  *CStringToForth( char *dst, const char *CString );\r
+char  *ForthStringToC( char *dst, const char *FString, cell_t dstSize );\r
+char  *CStringToForth( char *dst, const char *CString, cell_t dstSize  );\r
 \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
 \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
@@ -61,7 +61,9 @@ cell_t ffCompareTextCaseN( const char *s1, const char *s2, cell_t len );
 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
 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
+       \r
+cell_t pfUnitTestText( void );\r
+       \r
 #ifdef __cplusplus\r
 }   \r
 #endif\r
 #ifdef __cplusplus\r
 }   \r
 #endif\r