summaryrefslogtreecommitdiff
path: root/cmnd/yc_test.cpp
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:49 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:49 +0200
commit5ecef758a2826bd28dd0676940cd12ef6792126f (patch)
tree94454ed763dfbaf902eef267e1dcef0b30a0db4c /cmnd/yc_test.cpp
parent5a019f435eb0068b524566d9babf172d58d0e96e (diff)
tagging ychat-0.4ychat-0.4
Diffstat (limited to 'cmnd/yc_test.cpp')
-rw-r--r--cmnd/yc_test.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/cmnd/yc_test.cpp b/cmnd/yc_test.cpp
index c96e889..deb3e54 100644
--- a/cmnd/yc_test.cpp
+++ b/cmnd/yc_test.cpp
@@ -2,12 +2,11 @@
using namespace std;
-extern "C"
-{
- export int function(void *v_arg);
+extern "C" {
+ export int function(void *v_arg);
- int function(void *v_arg)
- {
- cout << "Hallo " << (char*)v_arg << endl;
- }
+ int function(void *v_arg)
+ {
+ cout << "Hallo " << (char*)v_arg << endl;
+ }
}