switch mylib to bse namespace
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user