diff options
author | MITSUNARI Shigeo <[email protected]> | 2015-07-22 22:32:08 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2015-07-22 22:32:08 +0900 |
commit | 1e208fd20225441f9ed02c7470335c731d958ebb (patch) | |
tree | 0ce73205758c667619c09dac76b510d61dd6aacb /sample | |
parent | df615b75812607a049a02a5360ba30313967df33 (diff) | |
download | xbyak-1e208fd20225441f9ed02c7470335c731d958ebb.tar.gz xbyak-1e208fd20225441f9ed02c7470335c731d958ebb.zip |
call supports variadic template if possiblev4.84
Diffstat (limited to 'sample')
-rw-r--r-- | sample/test0.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sample/test0.cpp b/sample/test0.cpp index fda8ef8..e437092 100644 --- a/sample/test0.cpp +++ b/sample/test0.cpp @@ -74,7 +74,11 @@ public: #else mov(eax, ptr [esp + 4]); push(eax); +#ifdef XBYAK_VARIADIC_TEMPLATE + call(atoi); +#else call(Xbyak::CastTo<void*>(atoi)); +#endif add(esp, 4); #endif ret(); |