Sign in
chromium
/
external
/
github.com
/
kripken
/
emscripten
/
HEAD
/
.
/
test
/
embind
/
test_embind_wrong_ret_allow.cpp
blob: 85d4faff5ffb3158d8b7b78296c6a472948ff484 [
file
]
#include
<emscripten/bind.h>
using
namespace
emscripten
;
class
C
{};
void
passThrough
(
C
*
ptr
)
{}
EMSCRIPTEN_BINDINGS
(
raw_pointers
)
{
class_
<
C
>(
"C"
);
function
(
"passThrough"
,
&
passThrough
,
allow_raw_pointer
<ret_val>
());
}