annotate src/hermes/common.inc @ 2013:0615fa58c0be

Fixed S32 audio mixing, but I'm a bit nervous about the use of 64-bit datatypes here...
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 01 Sep 2006 19:17:05 +0000
parents d76c3909b244
children
rev   line source
1871
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1 ; Some common macros for hermes nasm code
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
3 %macro SDL_FUNC 1
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
4 %ifdef HIDDEN_VISIBILITY
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
5 GLOBAL %1:function hidden
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
6 %else
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
7 GLOBAL %1
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
8 %endif
9ff9a58fa1e3 Fixed bug #157
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
9 %endmacro