summaryrefslogtreecommitdiffstats
path: root/generator/shibokengenerator.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-10-29 17:05:46 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-10-29 17:25:18 -0200
commit6f6eabfc91d0b034be1b411c451dd1562519252d (patch)
tree8f96aebe2082557d2042e14a5b1de930e0060b33 /generator/shibokengenerator.h
parenta53c92a42b29e0c49d28e0cf53f33b9515d78622 (diff)
downloadshiboken-6f6eabfc91d0b034be1b411c451dd1562519252d.tar.gz
shiboken-6f6eabfc91d0b034be1b411c451dd1562519252d.tar.xz
shiboken-6f6eabfc91d0b034be1b411c451dd1562519252d.zip
Don't use ref. on primitive types when using Converter<T>::toPython.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Ara├║jo <renato.filho@openbossa.org>
Diffstat (limited to 'generator/shibokengenerator.h')
-rw-r--r--generator/shibokengenerator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/generator/shibokengenerator.h b/generator/shibokengenerator.h
index 7695d112..74396eb0 100644
--- a/generator/shibokengenerator.h
+++ b/generator/shibokengenerator.h
@@ -318,6 +318,11 @@ public:
*/
AbstractMetaType* buildAbstractMetaTypeFromString(QString typeString);
+ /**
+ * Helper function to return the flags to be used by a meta type when
+ * it needs to write some converter code.
+ */
+ static Options getConverterOptions(const AbstractMetaType* metaType);
protected:
bool doSetup(const QMap<QString, QString>& args);
// verify whether the class is copyable