Change cstr to slc function to have proper namespacing
This commit is contained in:
parent
0722bcf51b
commit
c92f5df354
3 changed files with 4 additions and 4 deletions
4
lazy.h
4
lazy.h
|
|
@ -32,7 +32,7 @@ size_t lz_hm_hash_void_get(size_t cap, _Bool *exists, _Bool *tombstones,
|
|||
void *key, void *keys, size_t k_s);
|
||||
size_t lz_hm_hash_void_set(size_t cap, _Bool *exists,
|
||||
_Bool *tombstones, void* key, size_t k_s);
|
||||
Lz_Slc lz_cstr_to_slc(char *dat);
|
||||
Lz_Slc lz_slc_from_cstr(char *dat);
|
||||
char *lz_cstr_dup(const char *s);
|
||||
|
||||
double lz_slc_atof(Lz_Slc *src);
|
||||
|
|
@ -388,7 +388,7 @@ Lz_SB lz_sb_from_cstr(const char *dat) {
|
|||
return sb;
|
||||
}
|
||||
|
||||
Lz_Slc lz_cstr_to_slc(char *dat) {
|
||||
Lz_Slc lz_slc_from_cstr(char *dat) {
|
||||
Lz_Slc out = {0};
|
||||
out.data = dat;
|
||||
out.cnt = strlen(dat);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue