Sign in
nest-open-source
/
manifest_repos
/
toolchain
/
6143c57c644e0da7c4a10d1b4af322f92e74e6f7
/
.
/
armv7a
/
usr
/
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
);
}