Diff for libcfg+/src/platon/str/strmmx.h between version 1.4 and 1.5
| version 1.4, 2002/08/16 20:31:43 |
version 1.5, 2002/08/27 13:12:33 |
|
|
| #ifndef _PLATON_STRMMX_H |
#ifndef _PLATON_STRMMX_H |
| #define _PLATON_STRMMX_H |
#define _PLATON_STRMMX_H |
| |
|
| |
#ifndef PLATON_FUNC |
| |
# define PLATON_FUNC(_name) _name |
| |
#endif |
| |
#ifndef PLATON_FUNC_STR |
| |
# define PLATON_FUNC_STR(_name) #_name |
| |
#endif |
| |
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" { |
extern "C" { |
| #endif |
#endif |
| #ifdef PLATON_PREFIX |
|
| char *FUNCTION(strcpymmx)(void *dest, const void *src); |
char *PLATON_FUNC(strcpymmx)(void *dest, const void *src); |
| char *FUNCTION(strncpymmx)(void *dest, const void *src, size_t n); |
char *PLATON_FUNC(strncpymmx)(void *dest, const void *src, size_t n); |
| void *FUNCTION(memcpymmx)(void *dest, const void *src, size_t n); |
void *PLATON_FUNC(memcpymmx)(void *dest, const void *src, size_t n); |
| void *FUNCTION(memsetmmx)(void *s, int c, size_t n); |
void *PLATON_FUNC(memsetmmx)(void *s, int c, size_t n); |
| int FUNCTION(memcmpmmx)(const void *s1, const void *s2, size_t n); |
int PLATON_FUNC(memcmpmmx)(const void *s1, const void *s2, size_t n); |
| #else |
|
| char *strcpymmx(void *dest, const void *src); |
|
| char *strncpymmx(void *dest, const void *src, size_t n); |
|
| void *memcpymmx(void *dest, const void *src, size_t n); |
|
| void *memsetmmx(void *s, int c, size_t n); |
|
| int memcmpmmx(const void *s1, const void *s2, size_t n); |
|
| #endif |
|
| |
|
| #ifdef __cpluplus |
#ifdef __cpluplus |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|