fixing merge conflicts from local merg in loader.asm
This commit is contained in:
8
stl/stdlib.c
Normal file
8
stl/stdlib.c
Normal file
@@ -0,0 +1,8 @@
|
||||
int memcmp(const void* left, const void* right, const unsigned length) {
|
||||
for(unsigned i=0;i<length;i++) {
|
||||
if(left[i] != right[i]) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
1
stl/stdlib.h
Normal file
1
stl/stdlib.h
Normal file
@@ -0,0 +1 @@
|
||||
int memcmp(const void* left, const void* right, const unsigned length);
|
||||
@@ -1,4 +1,7 @@
|
||||
// our own stuff for stl utilities
|
||||
/*
|
||||
* string.h
|
||||
* String based utilities
|
||||
*/
|
||||
|
||||
unsigned strlen(const char* str) {
|
||||
unsigned idx = 0;
|
||||
|
||||
Reference in New Issue
Block a user