repo.or.cz
/
lsnes.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Lua: Fix type confusion between signed and unsigned
[lsnes.git]
/
include
/
library
/
eatarg.hpp
blob
af2bd4bdc71f7e63505cad89dc62154802314d46
1
#ifndef _library__eatarg__hpp__included__
2
#define _library__eatarg__hpp__included__
3
4
void
__attribute__
((
noinline
))
_eat_argument
(
void
*
arg
);
5
6
template
<
typename T
>
void
eat_argument
(
T arg
) {
7
T
*
arg2
= &
arg
;
8
_eat_argument
((
void
*)
arg2
);
9
}
10
11
#endif