About
Contact
QtCreator
KDevelop
Solarized
1
extern
"C"
void
call_func
(
void
(*
ptr
)(
int
a
),
int
a
);
2
3
extern
"C"
void
func
(
int
arg
) { }
4
5
int
main
(
int
argc
,
char
**
argv
) {
6
call_func
(
ptr:
func
,
a:
42
);
7
return
0
;
8
}
9