From 2175ccbcb773d345ebe16df6a89892a1b7101628 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Wed, 15 Dec 2010 18:16:59 -0300 Subject: Renamed the "define-ownership" tag "calss" attribute value from "shell" to "native". This was done to keep consistency with the rest of the type system tag attributes, which use "native" instead of "c++" or "shell". Documentation was updated accordingly. Reviewed by Lauro Moura Reviewed by Luciano Wolf --- doc/typesystem_arguments.rst | 2 +- typesystem.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/typesystem_arguments.rst b/doc/typesystem_arguments.rst index 938214acb..94d48f4e1 100644 --- a/doc/typesystem_arguments.rst +++ b/doc/typesystem_arguments.rst @@ -122,7 +122,7 @@ define-ownership .. code-block:: xml - diff --git a/typesystem.cpp b/typesystem.cpp index 7beb42f79..20ee8650f 100644 --- a/typesystem.cpp +++ b/typesystem.cpp @@ -1073,7 +1073,7 @@ bool Handler::startElement(const QString &, const QString &n, static QHash languageNames; if (languageNames.isEmpty()) { languageNames["target"] = TypeSystem::TargetLangCode; - languageNames["shell"] = TypeSystem::ShellCode; + languageNames["native"] = TypeSystem::NativeCode; } QString classAttribute = attributes["class"].toLower(); -- cgit v1.2.1