diff options
| author | 2024-05-15 13:27:23 +0200 | |
|---|---|---|
| committer | 2024-05-15 13:27:23 +0200 | |
| commit | ff8d49a8991977e07cf6bb50156b2ffda08d0c0e (patch) | |
| tree | 6de74de6401df99d2071db04a42124ce441b27a3 /xs.h | |
| parent | Updated RELEASE_NOTES. (diff) | |
| download | penes-snac2-ff8d49a8991977e07cf6bb50156b2ffda08d0c0e.tar.gz penes-snac2-ff8d49a8991977e07cf6bb50156b2ffda08d0c0e.tar.xz penes-snac2-ff8d49a8991977e07cf6bb50156b2ffda08d0c0e.zip | |
Use xs_regex_match() where applicable.
Diffstat (limited to 'xs.h')
| -rw-r--r-- | xs.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1049,7 +1049,7 @@ xs_dict *xs_dict_append(xs_dict *dict, const xs_str *key, const xs_val *value) | |||
| 1049 | xs_dict *xs_dict_prepend(xs_dict *dict, const xs_str *key, const xs_val *value) | 1049 | xs_dict *xs_dict_prepend(xs_dict *dict, const xs_str *key, const xs_val *value) |
| 1050 | /* prepends a memory block to the dict */ | 1050 | /* prepends a memory block to the dict */ |
| 1051 | { | 1051 | { |
| 1052 | return _xs_dict_write_ditem(dict, 4, key, value, xs_size(value)); | 1052 | return _xs_dict_write_ditem(dict, 1 + _XS_TYPE_SIZE, key, value, xs_size(value)); |
| 1053 | } | 1053 | } |
| 1054 | 1054 | ||
| 1055 | 1055 | ||