Mercurial > pub > dyncall > dyncall
comparison test/suite2_x86win32fast/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 |
comparison
equal
deleted
inserted
replaced
605:0f40e13a2f0a | 606:85b7a117b807 |
---|---|
4 Library: test | 4 Library: test |
5 File: test/suite2_x86win32fast/main.cc | 5 File: test/suite2_x86win32fast/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. |
38 int getId(); | 38 int getId(); |
39 DCpointer getFunc(int x); | 39 DCpointer getFunc(int x); |
40 DCValue* getArg(int pos); | 40 DCValue* getArg(int pos); |
41 | 41 |
42 | 42 |
43 | 43 static DCbool valueBool [MAXARGS]; |
44 DCbool valueBool[MAXARGS]; | 44 static DCchar valueChar [MAXARGS]; |
45 DCchar valueChar[MAXARGS]; | 45 static DCshort valueShort [MAXARGS]; |
46 DCshort valueShort[MAXARGS]; | 46 static DCint valueInt [MAXARGS]; |
47 DCint valueInt[MAXARGS]; | 47 static DClonglong valueLongLong[MAXARGS]; |
48 DClonglong valueLongLong[MAXARGS]; | 48 static DCdouble valueDouble [MAXARGS]; |
49 DCdouble valueDouble[MAXARGS]; | 49 static DCpointer valuePointer [MAXARGS]; |
50 DCpointer valuePointer[MAXARGS]; | 50 static DCfloat valueFloat [MAXARGS]; |
51 DCfloat valueFloat[MAXARGS]; | |
52 | 51 |
53 | 52 |
54 void clearValues(); | 53 void clearValues(); |
55 | 54 |
56 void init() | 55 void init() |