axl_strlen

This commit is contained in:
NukeBird 2025-11-27 20:51:48 +03:00
parent 574edcd4c5
commit 32f1b61324
2 changed files with 21 additions and 0 deletions

13
axl_string.cpp Normal file
View file

@ -0,0 +1,13 @@
#include "axl_string.h"
u32 axl_strlen(const i8* s)
{
u32 len = 0;
while(s[len] != '\0')
{
len++;
}
return len;
}

8
axl_string.h Normal file
View file

@ -0,0 +1,8 @@
#ifndef AXL_STRING_H
#define AXL_STRING_H
#include "axl_types.h"
u32 axl_strlen(const i8* s);
#endif // AXL_STRING