[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [smokegen/smokev4] /: initial code for supporting crack slots
From: Arno Rehn <arno () arnorehn ! de>
Date: 2012-10-12 14:03:19
Message-ID: 20121012140319.096F6A60E4 () git ! kde ! org
[Download RAW message or body]
Git commit 3ec5955f582c0e1968f0691a689128de890fd2b2 by Arno Rehn.
Committed on 07/10/2012 at 02:30.
Pushed by arnorehn into branch 'smokev4'.
initial code for supporting crack slots
M +2 -2 smokeutils.h
http://commits.kde.org/smokegen/3ec5955f582c0e1968f0691a689128de890fd2b2
diff --git a/smokeutils.h b/smokeutils.h
index c3766d8..1b9ebed 100644
--- a/smokeutils.h
+++ b/smokeutils.h
@@ -243,7 +243,7 @@ class SmokeMethod {
public:
enum CallMethod {
DynamicDispatch = 0,
- Direct = 1
+ DirectCall = 1
};
SmokeMethod() : _m(0), _mi(Smoke::NullModuleIndex) {}
@@ -302,7 +302,7 @@ public:
void call(Smoke::Stack args, void *ptr = 0, CallMethod callType = \
DynamicDispatch) const { Smoke::ClassFn fn = c().classFn();
- unsigned int offset = static_cast<unsigned int>(callType == Direct && \
!isPureVirtual() && isVirtual()); + unsigned int offset = static_cast<unsigned \
int>(callType == DirectCall && !isPureVirtual() && isVirtual()); (*fn)(method() + \
offset, ptr, args); }
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic