1

switch mylib to bse namespace

This commit is contained in:
2022-07-19 21:42:46 +02:00
parent 7d789f5583
commit a9c7b5161d
4 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
#ifndef __MYSTDLIB_INCLUDE_H_
#define __MYSTDLIB_INCLUDE_H_
namespace mmem {
namespace bse {
template<typename T>
void memcpy(T* destination, T* source, unsigned int count = 1) {
for (unsigned int i = 0; i < count; ++i) {
@ -13,11 +13,11 @@ namespace mmem {
template<typename T>
void zero(T* destination) {
mmem::memset((char*)destination, '\0', sizeof(T));
memset((char*)destination, '\0', sizeof(T));
}
// void strcpy(char* destination, char* source);
// unsigned int strlen(char* string);
} // namespace mmem
} // namespace bse
#endif