axl_strlen
This commit is contained in:
parent
574edcd4c5
commit
32f1b61324
2 changed files with 21 additions and 0 deletions
13
axl_string.cpp
Normal file
13
axl_string.cpp
Normal 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
8
axl_string.h
Normal 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
|
||||
Loading…
Reference in a new issue