Mercurial > pub > dyncall > dyncall
diff test/suite_x86win32std/main.cc @ 606:85b7a117b807
- more statics in test code (this is partly needed on an experimental freebsd sparc64 build where the elf cleanup code crashes for some reason ... it's probably that experimental build, but a good change to do regardless)
author | Tassilo Philipp |
---|---|
date | Wed, 21 Sep 2022 15:20:58 +0200 |
parents | 0f40e13a2f0a |
children |
line wrap: on
line diff
--- a/test/suite_x86win32std/main.cc Wed Sep 21 14:37:09 2022 +0200 +++ b/test/suite_x86win32std/main.cc Wed Sep 21 15:20:58 2022 +0200 @@ -6,7 +6,7 @@ Description: License: - Copyright (c) 2007-2018 Daniel Adler <dadler@uni-goettingen.de>, + Copyright (c) 2007-2022 Daniel Adler <dadler@uni-goettingen.de>, Tassilo Philipp <tphilipp@potion-studios.com> Permission to use, copy, modify, and distribute this software for any @@ -38,14 +38,14 @@ DCValue* getArg(int pos); -DCbool valueBool[NARGS]; -DCshort valueShort[NARGS]; -DCchar valueChar[NARGS]; -DCint valueInt[NARGS]; -DClonglong valueLongLong[NARGS]; -DCdouble valueDouble[NARGS]; -DCpointer valuePointer[NARGS]; -DCfloat valueFloat[NARGS]; +static DCbool valueBool [NARGS]; +static DCshort valueShort [NARGS]; +static DCchar valueChar [NARGS]; +static DCint valueInt [NARGS]; +static DClonglong valueLongLong[NARGS]; +static DCdouble valueDouble [NARGS]; +static DCpointer valuePointer [NARGS]; +static DCfloat valueFloat [NARGS]; bool equals(int select, int pos, void* data)