Last change
on this file since 829 was 829, checked in by イグトランス (egtra), 12 years ago |
svn:eol-styleとsvn:mime-type(文字コード指定含む)の設定
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/plain; charset=Shift_JIS
|
File size:
489 bytes
|
Rev | Line | |
---|
[829] | 1 | //libs.h
|
---|
| 2 | //stdafx.hまたはab_common.hをインクルードしないcppファイルでも必ずインクルードすること
|
---|
| 3 |
|
---|
| 4 | #pragma once
|
---|
| 5 |
|
---|
| 6 | #define foreach(v, c) for each (v in c)
|
---|
| 7 |
|
---|
| 8 | #define lstrlenA strlen
|
---|
| 9 | #define lstrcmpA strcmp
|
---|
| 10 | #define lstrcpyA strcpy
|
---|
| 11 | #define lstrcmpiA _stricmp
|
---|
| 12 |
|
---|
| 13 | #if 0
|
---|
| 14 | extern "C"
|
---|
| 15 | {
|
---|
| 16 | void* dlcalloc(size_t, size_t);
|
---|
| 17 | void dlfree(void*);
|
---|
| 18 | void* dlmalloc(size_t);
|
---|
| 19 | void* dlrealloc(void*, size_t);
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | #define calloc dlcalloc
|
---|
| 23 | #define free dlfree
|
---|
| 24 | #define malloc dlmalloc
|
---|
| 25 | #define realloc dlrealloc
|
---|
| 26 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.