projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
39eb2fd
)
oopsie... there were some macros missing on windows...
author
Marcus Eggenberger
<egs@quassel-irc.org>
Mon, 24 Aug 2009 21:36:00 +0000
(23:36 +0200)
committer
Marcus Eggenberger
<egs@quassel-irc.org>
Mon, 24 Aug 2009 21:36:00 +0000
(23:36 +0200)
src/common/syncableobject.h
patch
|
blob
|
history
diff --git
a/src/common/syncableobject.h
b/src/common/syncableobject.h
index
01fb395
..
611ef84
100644
(file)
--- a/
src/common/syncableobject.h
+++ b/
src/common/syncableobject.h
@@
-100,11
+100,12
@@
private:
# define REQUEST(...) sync_call__(SignalProxy::Client, (__FUNCTION__ + _classNameOffset__) , __VA_ARGS__);
#else
# define SYNC(...) sync_call__(SignalProxy::Server, __func__, __VA_ARGS__);
# define REQUEST(...) sync_call__(SignalProxy::Client, (__FUNCTION__ + _classNameOffset__) , __VA_ARGS__);
#else
# define SYNC(...) sync_call__(SignalProxy::Server, __func__, __VA_ARGS__);
-# define SYNC_OTHER(x, ...) sync_call__(SignalProxy::Server, #x, __VA_ARGS__);
# define REQUEST(...) sync_call__(SignalProxy::Client, __func__, __VA_ARGS__);
# define REQUEST(...) sync_call__(SignalProxy::Client, __func__, __VA_ARGS__);
-# define REQUEST_OTHER(x, ...) sync_call__(SignalProxy::Client, #x, __VA_ARGS__);
#endif //Q_WS_WIN
#endif //Q_WS_WIN
+#define SYNC_OTHER(x, ...) sync_call__(SignalProxy::Server, #x, __VA_ARGS__);
+#define REQUEST_OTHER(x, ...) sync_call__(SignalProxy::Client, #x, __VA_ARGS__);
+
#define ARG(x) const_cast<void *>(reinterpret_cast<const void*>(&x))
#define NO_ARG 0
#define ARG(x) const_cast<void *>(reinterpret_cast<const void*>(&x))
#define NO_ARG 0