Mercurial > pub > dyncall > dyncall
diff test/ellipsis/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 | 7608e34098b0 |
children |
line wrap: on
line diff
--- a/test/ellipsis/main.cc Wed Sep 21 14:37:09 2022 +0200 +++ b/test/ellipsis/main.cc Wed Sep 21 15:20:58 2022 +0200 @@ -6,7 +6,7 @@ Description: call (...) functions via dyncall library, targets are auto-generated License: - Copyright (c) 2007-2021 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,10 +38,10 @@ DCpointer getFunc(int x); DCValue* getArg(int pos); -DCint valueInt [NARGS]; -DClonglong valueLongLong[NARGS]; -DCdouble valueDouble [NARGS]; -DCpointer valuePointer [NARGS]; +static DCint valueInt [NARGS]; +static DClonglong valueLongLong[NARGS]; +static DCdouble valueDouble [NARGS]; +static DCpointer valuePointer [NARGS]; bool equals(int select, int pos, void* data) {