String documentation
This commit is contained in:
parent
4b2691fa57
commit
d150e77aaa
|
@ -1,5 +1,10 @@
|
||||||
|
// A small collection of functions related to the ableOS String type as defined in the header file string.h
|
||||||
|
// Notes:
|
||||||
|
// - All functions in the library must operate on unicode only.
|
||||||
|
|
||||||
|
|
||||||
|
// Check the length of a default c string
|
||||||
|
// Returns a u32
|
||||||
inline static u32 c_str_len(char const* ptr) {
|
inline static u32 c_str_len(char const* ptr) {
|
||||||
if (ptr == NULL) {
|
if (ptr == NULL) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue