diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:48 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:48 +0200 |
| commit | d9c4a95345bd758e45196b29368bd2ff0f2790e3 (patch) | |
| tree | 8e7aa76f3f2a3a064f440f7410e4ec01cd34a78f /cmnd/yc_test.cpp | |
| parent | d4c9f10efe815af146438cafb694d16da0e5650a (diff) | |
tagging ychat-0.5.2ychat-0.5.2
Diffstat (limited to 'cmnd/yc_test.cpp')
| -rw-r--r-- | cmnd/yc_test.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/cmnd/yc_test.cpp b/cmnd/yc_test.cpp index deb3e54..c96e889 100644 --- a/cmnd/yc_test.cpp +++ b/cmnd/yc_test.cpp @@ -2,11 +2,12 @@ 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; + } } |
