1 2 3 4 5 6 7 8 9 10 11 12 13
#include <iostream> using namespace std; extern "C" { export int function(void *v_arg); int function(void *v_arg) { cout << "Hallo " << (char*)v_arg << endl; } }