[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [smokegen/smokev4] /: simply function pointer support
From: Arno Rehn <arno () arnorehn ! de>
Date: 2012-10-12 14:03:19
Message-ID: 20121012140319.054E0A60E2 () git ! kde ! org
[Download RAW message or body]
Git commit 19e6ebed0168b02ef1d38e7cb07946f5b88e637f by Arno Rehn.
Committed on 25/09/2012 at 18:37.
Pushed by arnorehn into branch 'smokev4'.
simply function pointer support
M +1 -0 smokeutils.h
http://commits.kde.org/smokegen/19e6ebed0168b02ef1d38e7cb07946f5b88e637f
diff --git a/smokeutils.h b/smokeutils.h
index 4d2adbd..92c45a9 100644
--- a/smokeutils.h
+++ b/smokeutils.h
@@ -105,6 +105,7 @@ public:
bool isConst() const { return (flags() & Smoke::tf_const); }
bool isClass() const { return classId(); }
bool isVoid() const { return !typeId(); }
+ bool isFunctionPointer() const { return name() && strstr(name(), "(*)"); }
bool isUnsigned() const;
bool operator ==(const SmokeType &b) const {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic