Mercurial > pub > dyncall > dyncall
comparison test/ellipsis/main.cc @ 50:9bd3c5219505
- minor test code fix
- doc
- cleanups
author | cslag |
---|---|
date | Sun, 20 Dec 2015 15:38:14 +0100 |
parents | 3e629dc19168 |
children | f5577f6bf97a |
comparison
equal
deleted
inserted
replaced
49:4388e27eadd7 | 50:9bd3c5219505 |
---|---|
87 DCCallVM* pCall = dcNewCallVM(4096); | 87 DCCallVM* pCall = dcNewCallVM(4096); |
88 | 88 |
89 assert( dcGetError(pCall) == DC_ERROR_NONE ); | 89 assert( dcGetError(pCall) == DC_ERROR_NONE ); |
90 | 90 |
91 dcMode(pCall, DC_CALL_C_ELLIPSIS); | 91 dcMode(pCall, DC_CALL_C_ELLIPSIS); |
92 dcReset(pCall); | |
92 | 93 |
93 assert( dcGetError(pCall) == DC_ERROR_NONE ); | 94 assert( dcGetError(pCall) == DC_ERROR_NONE ); |
94 | 95 |
95 int y = x; | 96 int y = x; |
96 int selects[NARGS] = { 0 }; | 97 int selects[NARGS] = { 0 }; |