summaryrefslogtreecommitdiff
path: root/src/tree.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-04-01 10:24:42 -0400
committerAdrian Thurston <thurston@complang.org>2015-04-01 10:24:42 -0400
commit24e144ea5fd1275bf6c864455b2dd4d96e589363 (patch)
tree5c35d484904e32626a862bd5784b882a4f27d4b8 /src/tree.h
parent03e0f380a472db828c3bd5ae481a6b1c10fed3d0 (diff)
downloadcolm-24e144ea5fd1275bf6c864455b2dd4d96e589363.tar.gz
first cut of C extensions
Diffstat (limited to 'src/tree.h')
-rw-r--r--src/tree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tree.h b/src/tree.h
index cd31b35c..3cea7e82 100644
--- a/src/tree.h
+++ b/src/tree.h
@@ -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)
}