diff options
author | ubq323 <ubq323@ubq323.website> | 2024-06-20 21:45:57 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-06-20 21:45:57 +0100 |
commit | fa8891ffe017ae890f0ef07915cf8b52acd7304a (patch) | |
tree | 7478faee1981c1c98ee5e88e6c56529f83a64817 /val.h | |
parent | 9a7d1b1d41f4b3bb3387e7bbe77105d0089803d0 (diff) |
add true, false, nil keywords
Diffstat (limited to 'val.h')
-rw-r--r-- | val.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -49,6 +49,7 @@ typedef struct { // Constructs a new objstring from the given C string, // creating its own fresh copy of the data. ObjString *objstring_copy(State *S, char *src, size_t len); +ObjString *objstring_copy_cstr(State *s, char *str); // Constructs a new objstring from the given C string, // taking ownership of the provided data. ObjString *objstring_take(State *S, char *src, size_t len); |