Add C support in README, minor updates in other C doc

This commit is contained in:
Mikkel Fahnøe Jørgensen
2016-03-26 09:22:56 +01:00
parent 47d4b46950
commit 9b8c91c90b
3 changed files with 9 additions and 5 deletions

View File

@@ -1293,7 +1293,7 @@ like so:
// The returned buffer must be deallocated using `free`.
// NOTE: Finalizing the buffer does NOT change the builder, it
// just creates a snapshot of the builder content.
buf = flatcc_builder_finalize_buffer(&builder, &size);
buf = flatcc_builder_finalize_buffer(B, &size);
// use buf
free(buf);