comparison 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
comparison
equal deleted inserted replaced
605:0f40e13a2f0a 606:85b7a117b807
4 Library: test 4 Library: test
5 File: test/suite_x86win32std/main.cc 5 File: test/suite_x86win32std/main.cc
6 Description: 6 Description:
7 License: 7 License:
8 8
9 Copyright (c) 2007-2018 Daniel Adler <dadler@uni-goettingen.de>, 9 Copyright (c) 2007-2022 Daniel Adler <dadler@uni-goettingen.de>,
10 Tassilo Philipp <tphilipp@potion-studios.com> 10 Tassilo Philipp <tphilipp@potion-studios.com>
11 11
12 Permission to use, copy, modify, and distribute this software for any 12 Permission to use, copy, modify, and distribute this software for any
13 purpose with or without fee is hereby granted, provided that the above 13 purpose with or without fee is hereby granted, provided that the above
14 copyright notice and this permission notice appear in all copies. 14 copyright notice and this permission notice appear in all copies.
36 int getId(); 36 int getId();
37 DCpointer getFunc(int x); 37 DCpointer getFunc(int x);
38 DCValue* getArg(int pos); 38 DCValue* getArg(int pos);
39 39
40 40
41 DCbool valueBool[NARGS]; 41 static DCbool valueBool [NARGS];
42 DCshort valueShort[NARGS]; 42 static DCshort valueShort [NARGS];
43 DCchar valueChar[NARGS]; 43 static DCchar valueChar [NARGS];
44 DCint valueInt[NARGS]; 44 static DCint valueInt [NARGS];
45 DClonglong valueLongLong[NARGS]; 45 static DClonglong valueLongLong[NARGS];
46 DCdouble valueDouble[NARGS]; 46 static DCdouble valueDouble [NARGS];
47 DCpointer valuePointer[NARGS]; 47 static DCpointer valuePointer [NARGS];
48 DCfloat valueFloat[NARGS]; 48 static DCfloat valueFloat [NARGS];
49 49
50 50
51 bool equals(int select, int pos, void* data) 51 bool equals(int select, int pos, void* data)
52 { 52 {
53 switch(select) 53 switch(select)