diff options
author | Adrian Thurston <thurston@complang.org> | 2015-04-01 10:24:42 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2015-04-01 10:24:42 -0400 |
commit | 24e144ea5fd1275bf6c864455b2dd4d96e589363 (patch) | |
tree | 5c35d484904e32626a862bd5784b882a4f27d4b8 /src/tree.h | |
parent | 03e0f380a472db828c3bd5ae481a6b1c10fed3d0 (diff) | |
download | colm-24e144ea5fd1275bf6c864455b2dd4d96e589363.tar.gz |
first cut of C extensions
Diffstat (limited to 'src/tree.h')
-rw-r--r-- | src/tree.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -356,6 +356,8 @@ Value colm_viter_deref_cur( struct colm_program *prg, GenericIter *iter ); Str *string_prefix( Program *prg, Str *str, long len ); Str *string_suffix( Program *prg, Str *str, long pos ); +Head *stringAllocFull( struct colm_program *prg, const char *data, long length ); +Tree *constructString( struct colm_program *prg, Head *s ); #if defined(__cplusplus) } |