diff options
Diffstat (limited to 'ychat-0.4/cmnd/yc_test.cpp')
| -rw-r--r-- | ychat-0.4/cmnd/yc_test.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ychat-0.4/cmnd/yc_test.cpp b/ychat-0.4/cmnd/yc_test.cpp new file mode 100644 index 0000000..deb3e54 --- /dev/null +++ b/ychat-0.4/cmnd/yc_test.cpp @@ -0,0 +1,12 @@ +#include <iostream> + +using namespace std; + +extern "C" { + export int function(void *v_arg); + + int function(void *v_arg) + { + cout << "Hallo " << (char*)v_arg << endl; + } +} |
