Constructs a string from the given arguments. */
| 20 | extern const cc_string String_Empty; |
| 21 | /* Constructs a string from the given arguments. */ |
| 22 | static CC_INLINE cc_string String_Init(STRING_REF char* buffer, int length, int capacity) { |
| 23 | cc_string s; s.buffer = buffer; s.length = length; s.capacity = capacity; return s; |
| 24 | } |
| 25 | |
| 26 | /* Counts number of characters until a '\0' is found, up to capacity. */ |
| 27 | CC_API int String_CalcLen(const char* raw, int capacity); |
no outgoing calls
no test coverage detected