rename lib
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
#include "user/lib/MyLib.h"
|
#include "user/lib/Memory.h"
|
||||||
|
|
||||||
void bse::memset(char* destination, char value, unsigned int bytes) {
|
void bse::memset(char* destination, char value, unsigned int bytes) {
|
||||||
for (unsigned int byte = 0; byte < bytes; ++byte) {
|
for (unsigned int byte = 0; byte < bytes; ++byte) {
|
||||||
@ -2,6 +2,7 @@
|
|||||||
#define __MYSTDLIB_INCLUDE_H_
|
#define __MYSTDLIB_INCLUDE_H_
|
||||||
|
|
||||||
namespace bse {
|
namespace bse {
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
void memcpy(T* destination, T* source, unsigned int count = 1) {
|
void memcpy(T* destination, T* source, unsigned int count = 1) {
|
||||||
for (unsigned int i = 0; i < count; ++i) {
|
for (unsigned int i = 0; i < count; ++i) {
|
||||||
Reference in New Issue
Block a user