mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-09 08:27:41 +00:00
22
libc/mem_funcs.h
Normal file
22
libc/mem_funcs.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef _MEM_FUNCS_H_
|
||||
#define _MEM_FUNCS_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define __min_bytes_for_long_copy 32
|
||||
|
||||
void __copy_mem(void* dst, const void* src, unsigned long n);
|
||||
void __move_mem(void* dst, const void* src, unsigned long n);
|
||||
void __copy_longs_aligned(void* dst, const void* src, unsigned long n);
|
||||
void __copy_longs_rev_aligned(void* dst, const void* src, unsigned long n);
|
||||
void __copy_longs_unaligned(void* dst, const void* src, unsigned long n);
|
||||
void __copy_longs_rev_unaligned(void* dst, const void* src, unsigned long n);
|
||||
void __fill_mem(void* dst, int val, unsigned long n);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user