diff options
author | mike <@192.168.0.4> | 2011-08-11 13:42:45 +0400 |
---|---|---|
committer | mike <@192.168.0.4> | 2011-08-11 13:42:45 +0400 |
commit | 74f87be9bcb631379574ff045aaf7c77e14f33d5 (patch) | |
tree | 87412ca7f38ea7a75678fc5c5cf623990ef1bb39 /main/src/addins/CBinding | |
parent | bcf9ec5b35dabfb9ce73eaa0a4b8cdb772bcf33a (diff) |
Track API changes.
Diffstat (limited to 'main/src/addins/CBinding')
-rw-r--r-- | main/src/addins/CBinding/Parser/CDocumentParser.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/addins/CBinding/Parser/CDocumentParser.cs b/main/src/addins/CBinding/Parser/CDocumentParser.cs index 3fb0f491c5..d83c5c9e01 100644 --- a/main/src/addins/CBinding/Parser/CDocumentParser.cs +++ b/main/src/addins/CBinding/Parser/CDocumentParser.cs @@ -184,7 +184,7 @@ namespace CBinding.Parser var klass = new DefaultTypeDefinition (content, "", item.File); if (item is Class || item is Structure) { klass.Region = new DomRegion ((int)item.Line, 1, FindFunctionEnd (contentLines, (int)item.Line-1) + 2, 1); - klass.ClassType = item is Class ? ClassType.Class : ClassType.Struct; + klass.Kind = item is Class ? TypeKind.Class : TypeKind.Struct; foreach (LanguageItem li in pi.AllItems ()) { if (klass.Equals (li.Parent) && FilePath.Equals (li.File, item.File)) AddLanguageItem (content, pi, klass, li, contentLines); @@ -193,7 +193,7 @@ namespace CBinding.Parser } klass.Region = new DomRegion ((int)item.Line, 1, (int)item.Line + 1, 1); - klass.ClassType = ClassType.Enum; + klass.Kind = TypeKind.Enum; return klass; } |