aboutsummaryrefslogtreecommitdiffstats
path: root/generatorrunnermacros.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-11-17 16:16:23 -0200
committerHugo Lima <hugo.lima@openbossa.org>2009-11-17 16:51:48 -0200
commite860f1efded4e9dc177686372ed06d3a97ba3f11 (patch)
tree336857f21229ba77da08b92b18946212aac90301 /generatorrunnermacros.h
parent345ede7ab3abaca5ec362ebb2cf09a5aabb4cb9a (diff)
- Prepare libgenerator.so for a near future when we will need to worry about BIC changes,
Now it uses a d-pointer and do not export private methods/structures. - Mark some methods as deprecated, as they doesn't belong to Generator, being a huge cohesion failure IMO. - Fixed constness of some methods. Deprecated methods: AbstractMetaFunctionList filterFunctions(const AbstractMetaClass *cppClass); AbstractMetaFunctionList queryFunctions(const AbstractMetaClass *cpp_class, bool all_function = false); AbstractMetaFunctionList queryGlobalOperators(const AbstractMetaClass *cpp_class); AbstractMetaFunctionList sortConstructor(AbstractMetaFunctionList list); Moved method: verifyDirectoryFor is now a ordinary global function like formatCode, because it's a helper function not related with code generation. All these methods would be somewhere/somehow in APIExtractor, because they are basically helper methods to supply some APIExtractor missing functionalities. Note: Shiboken and BoostPython generator needs some minor fixes to adapt to changed caused by this patch.
Diffstat (limited to 'generatorrunnermacros.h')
-rw-r--r--generatorrunnermacros.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/generatorrunnermacros.h b/generatorrunnermacros.h
index f7095f18f..8f801f06d 100644
--- a/generatorrunnermacros.h
+++ b/generatorrunnermacros.h
@@ -39,4 +39,5 @@
#endif
#endif
+#define GENRUNNER_DEPRECATED __attribute__ ((deprecated))
#endif