Lua: Fix type confusion between signed and unsigned
[lsnes.git] / include / library / eatarg.hpp
blobaf2bd4bdc71f7e63505cad89dc62154802314d46
1 #ifndef _library__eatarg__hpp__included__
2 #define _library__eatarg__hpp__included__
4 void __attribute__((noinline)) _eat_argument(void* arg);
6 template<typename T> void eat_argument(T arg) {
7 T* arg2 = &arg;
8 _eat_argument((void*)arg2);
11 #endif