projects
/
pforth
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #79 from philburk/fix20
[pforth]
/
csrc
/
pforth.h
diff --git
a/csrc/pforth.h
b/csrc/pforth.h
index
cd74336
..
96eb93f
100644
(file)
--- a/
csrc/pforth.h
+++ b/
csrc/pforth.h
@@
-39,7
+39,7
@@
extern "C" {
#endif
/* Main entry point to pForth. */
#endif
/* Main entry point to pForth. */
-
cell_t
pfDoForth( const char *DicName, const char *SourceName, cell_t IfInit );
+
ThrowCode
pfDoForth( const char *DicName, const char *SourceName, cell_t IfInit );
/* Turn off messages. */
void pfSetQuiet( cell_t IfQuiet );
/* Turn off messages. */
void pfSetQuiet( cell_t IfQuiet );
@@
-78,7
+78,7
@@
void pfDeleteDictionary( PForthDictionary dict );
ThrowCode pfQuit( void );
/* Execute a single execution token in the current task and return 0 or an error code. */
ThrowCode pfQuit( void );
/* Execute a single execution token in the current task and return 0 or an error code. */
-
int
pfCatch( ExecToken XT );
+
ThrowCode
pfCatch( ExecToken XT );
/* Include the given pForth source code file. */
ThrowCode pfIncludeFile( const char *FileName );
/* Include the given pForth source code file. */
ThrowCode pfIncludeFile( const char *FileName );