Sign in
android
/
platform
/
prebuilts
/
rust
/
84b9913596d18689a8c2f638645264b1f21f1ed6
/
.
/
linux-musl-x86
/
1.74.1
/
lib
/
rustlib
/
src
/
rust
/
library
/
backtrace
/
crates
/
cpp_smoke_test
/
cpp
/
trampoline.cpp
blob: 61e09604c82b6234538b8814bb25881204553677 [
file
] [
log
] [
blame
]
#include
<stdio.h>
namespace
space
{
template
<
typename
FuncT
>
void
templated_trampoline
(
FuncT
func
)
{
func
();
}
}
typedef
void
(*
FuncPtr
)();
extern
"C"
void
cpp_trampoline
(
FuncPtr
func
)
{
space
::
templated_trampoline
(
func
);
}