diff options
| author | default <nobody@localhost> | 2024-05-15 13:27:23 +0200 |
|---|---|---|
| committer | default <nobody@localhost> | 2024-05-15 13:27:23 +0200 |
| commit | ff8d49a8991977e07cf6bb50156b2ffda08d0c0e (patch) | |
| tree | 6de74de6401df99d2071db04a42124ce441b27a3 /xs.h | |
| parent | d5316497760bffd869ff2b80bebaa613798a6476 (diff) | |
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) xs_dict *xs_dict_prepend(xs_dict *dict, const xs_str *key, const xs_val *value) /* prepends a memory block to the dict */ { - return _xs_dict_write_ditem(dict, 4, key, value, xs_size(value)); + return _xs_dict_write_ditem(dict, 1 + _XS_TYPE_SIZE, key, value, xs_size(value)); } |