[refactor] Organize INT
This commit is contained in:
+3
-2
@@ -1,9 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <types.h>
|
||||
#define ASM asm volatile
|
||||
|
||||
static unsigned int strlen(const char* arr) { // 获取string长度
|
||||
int i = 0;
|
||||
static SUINT32 strlen(const char* arr) { // 获取string长度
|
||||
SSINT32 i = 0;
|
||||
while (arr[i++] != '\0');
|
||||
return i - 1;
|
||||
}
|
||||
Reference in New Issue
Block a user