diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:49 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:49 +0200 |
| commit | 5ecef758a2826bd28dd0676940cd12ef6792126f (patch) | |
| tree | 94454ed763dfbaf902eef267e1dcef0b30a0db4c /cmnd | |
| parent | 5a019f435eb0068b524566d9babf172d58d0e96e (diff) | |
tagging ychat-0.4ychat-0.4
Diffstat (limited to 'cmnd')
| -rw-r--r-- | cmnd/CVS/Entries | 2 | ||||
| -rw-r--r-- | cmnd/CVS/Root | 2 | ||||
| -rw-r--r-- | cmnd/yc_q.cpp | 17 | ||||
| -rw-r--r-- | cmnd/yc_test.cpp | 13 |
4 files changed, 17 insertions, 17 deletions
diff --git a/cmnd/CVS/Entries b/cmnd/CVS/Entries index 1784810..5f48d3a 100644 --- a/cmnd/CVS/Entries +++ b/cmnd/CVS/Entries @@ -1 +1,3 @@ +/yc_q.cpp/1.2/Wed Apr 2 21:57:34 2003// +/yc_test.cpp/1.1/Wed Apr 2 10:52:16 2003// D diff --git a/cmnd/CVS/Root b/cmnd/CVS/Root index 4ab853d..2818c02 100644 --- a/cmnd/CVS/Root +++ b/cmnd/CVS/Root @@ -1 +1 @@ -:pserver:volker@cvs.exa-ds.com:/home/cvsroot +:pserver:rover@cvs.ychat.berlios.de:/cvsroot/ychat diff --git a/cmnd/yc_q.cpp b/cmnd/yc_q.cpp index 8e48748..acc8596 100644 --- a/cmnd/yc_q.cpp +++ b/cmnd/yc_q.cpp @@ -8,15 +8,14 @@ using namespace std; -extern "C" -{ - export int extern_function(void *v_arg); +extern "C" { + export int extern_function(void *v_arg); - int extern_function(void *v_arg) - { - user *p_user = (user*) v_arg; - p_user->msg_post( new string( "<script language='JavaScript'> window.open( 'index.html', '_top' ); </script>\n " ) ); - p_user->set_online( false ); - } + int extern_function(void *v_arg) + { + user *p_user = (user*) v_arg; + p_user->msg_post( new string( "<script language='JavaScript'> window.open( 'index.html', '_top' ); </script>\n " ) ); + p_user->set_online( false ); + } } 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; + } } |
