annotate src/hermes/common.inc @ 1704:03fb364e3283 SDL-1.3

Merged memory leak fix from SDL 1.2
author Sam Lantinga <slouken@libsdl.org>
date Sat, 24 Jun 2006 03:43:21 +0000
parents 412149a1c756
children
rev   line source
1697
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1 ; Some common macros for hermes nasm code
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
3 %macro SDL_FUNC 1
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
4 %ifdef HIDDEN_VISIBILITY
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
5 GLOBAL %1:function hidden
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
6 %else
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
7 GLOBAL %1
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
8 %endif
393092a3ebf6 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
9 %endmacro