X-Git-Url: http://git.subgeniuskitty.com/pforth/.git/blobdiff_plain/3760715f6e313ff90da32399fa1903c54f69d59b..e2531e837774276f6ffb3b284703c594644761f8:/csrc/pf_text.h diff --git a/csrc/pf_text.h b/csrc/pf_text.h index 7cbe97d..29e0218 100644 --- a/csrc/pf_text.h +++ b/csrc/pf_text.h @@ -51,8 +51,8 @@ extern "C" { void pfReportError( const char *FunctionName, Err ErrCode ); void pfReportThrow( ThrowCode code ); -char *ForthStringToC( char *dst, const char *FString ); -char *CStringToForth( char *dst, const char *CString ); +char *ForthStringToC( char *dst, const char *FString, cell_t dstSize ); +char *CStringToForth( char *dst, const char *CString, cell_t dstSize ); cell_t ffCompare( const char *s1, cell_t len1, const char *s2, int32_t len2 ); cell_t ffCompareText( const char *s1, const char *s2, cell_t len ); @@ -61,7 +61,9 @@ cell_t ffCompareTextCaseN( const char *s1, const char *s2, cell_t len ); void DumpMemory( void *addr, cell_t cnt); char *ConvertNumberToText( cell_t Num, cell_t Base, int32_t IfSigned, int32_t MinChars ); void TypeName( const char *Name ); - + +cell_t pfUnitTestText( void ); + #ifdef __cplusplus } #endif