diff options
author | David Robillard <d@drobilla.net> | 2011-01-28 23:36:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-28 23:36:32 +0000 |
commit | 9d9cd92a474f8ad5b8c75d3bedede0960281ef48 (patch) | |
tree | 91ff2827a28ddaaf5fce3a543eb947f7aea6c692 /src/sord.c | |
parent | 04da598576390d6bf0ed73865b6b3272fdf2840b (diff) | |
download | sord-9d9cd92a474f8ad5b8c75d3bedede0960281ef48.tar.gz sord-9d9cd92a474f8ad5b8c75d3bedede0960281ef48.tar.bz2 sord-9d9cd92a474f8ad5b8c75d3bedede0960281ef48.zip |
Syntax support via Serd.
Preliminary syntax-using command line program.
git-svn-id: http://svn.drobilla.net/sord/trunk@9 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/sord.c')
-rw-r--r-- | src/sord.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -808,6 +808,13 @@ sord_node_get_string(SordNode ref) return ref->buf; } +const char* +sord_node_get_string_counted(SordNode ref, size_t* n_bytes) +{ + *n_bytes = ref->n_bytes; + return ref->buf; +} + void sord_node_set_user_data(SordNode ref, void* user_data) { |