Commit 7e5a2eac authored by Christian Hergert's avatar Christian Hergert
Browse files

bson: add convenience macros for appending using string literals.

strlen(literal) compiles out on GCC and Clang, so by using these macros
you save some typing and cleanliness and get a bit of a speed improvement
over passing -1 for length.
parent 4256260f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment