- $typefrom now also accepts a constant string, and so works like $evaltype.

- `$evaltype` is deprecated in favour of `$typefrom`.
This commit is contained in:
Christoffer Lerno
2025-06-03 14:51:56 +02:00
parent 8fc01d4e1a
commit 9645bd3289
10 changed files with 101 additions and 22 deletions

View File

@@ -151,6 +151,7 @@ const char *str_unescape(char *string);
bool str_is_identifier(const char *string);
bool str_eq(const char *str1, const char *str2);
bool str_is_type(const char *string);
bool slice_is_type(const char *string, size_t);
bool str_is_integer(const char *string);
bool str_has_no_uppercase(const char *string);
bool str_is_valid_module_name(const char *name);