diff options
Diffstat (limited to 'ychat-0.5.2/cmnd/yc_test.cpp')
| -rw-r--r-- | ychat-0.5.2/cmnd/yc_test.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ychat-0.5.2/cmnd/yc_test.cpp b/ychat-0.5.2/cmnd/yc_test.cpp new file mode 100644 index 0000000..c96e889 --- /dev/null +++ b/ychat-0.5.2/cmnd/yc_test.cpp @@ -0,0 +1,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; + } +} |
