diff options
author | David Robillard <d@drobilla.net> | 2017-07-30 08:04:58 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-07-30 10:11:47 +0200 |
commit | 0d3f8ec8e87ff198ec75e389dadaefc7e55bd7df (patch) | |
tree | cc8a7aee84acd9be43e05a05e51650b30fa93728 /src/serd_internal.h | |
parent | 32f10751605e7124e415d38feb4d8176288c03ad (diff) | |
download | serd-0d3f8ec8e87ff198ec75e389dadaefc7e55bd7df.tar.gz serd-0d3f8ec8e87ff198ec75e389dadaefc7e55bd7df.tar.bz2 serd-0d3f8ec8e87ff198ec75e389dadaefc7e55bd7df.zip |
Cleanup: Add push_bytes function to reduce code verbosity
Diffstat (limited to 'src/serd_internal.h')
-rw-r--r-- | src/serd_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/serd_internal.h b/src/serd_internal.h index 814b9a5b..481b56fa 100644 --- a/src/serd_internal.h +++ b/src/serd_internal.h @@ -38,6 +38,8 @@ # define MIN(a, b) (((a) < (b)) ? (a) : (b)) #endif +static const uint8_t replacement_char[] = { 0xEF, 0xBF, 0xBD }; + /* File and Buffer Utilities */ static inline FILE* |