diff options
author | Adrian Thurston <thurston@colm.net> | 2018-06-17 17:51:16 +0700 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2018-06-17 17:51:16 +0700 |
commit | e1bcbb75a7b6ce2a9455dc9921ff52be1082e737 (patch) | |
tree | 41b6782a46036f852cdfc8da23a86eadfc46fad6 /src/compiler.h | |
parent | 79e67c4e1caa76ce09e9186bcf34a2aae08a367b (diff) | |
download | colm-e1bcbb75a7b6ce2a9455dc9921ff52be1082e737.tar.gz |
specialize stream impl for compile-time parsing
Diffstat (limited to 'src/compiler.h')
-rw-r--r-- | src/compiler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler.h b/src/compiler.h index a0b7d192..0f67c17b 100644 --- a/src/compiler.h +++ b/src/compiler.h @@ -1137,5 +1137,8 @@ ObjectMethod *initFunction( UniqueType *retType, Namespace *nspace, ObjectDef *o UniqueType *arg1, UniqueType *arg2, bool isConst, bool useFnInstr = false, GenericType *useGeneric = 0 ); +extern "C" struct stream_impl *colm_impl_new_pat( char *name, struct Pattern *pattern ); +extern "C" struct stream_impl *colm_impl_new_cons( char *name, struct Constructor *constructor ); + #endif /* _COLM_PARSEDATA_H */ |