add support for objective C classes in OSX and json format

This commit is contained in:
Andrew Case
2018-12-19 00:54:51 +00:00
committed by ikelos
parent 12e470ab55
commit 6aac0571e6
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -647,6 +647,8 @@ class Struct(interfaces.objects.ObjectInterface):
class Union(Struct):
pass
class vol_class(Struct):
pass
# Really nasty way of duplicating the class
# WILL cause problems with any mutable class/static variables
+1 -1
View File
@@ -342,7 +342,7 @@ class Version1Format(ISFormatTable):
return native_template
# Otherwise
if dictionary['kind'] not in ['struct', 'union']:
if dictionary['kind'] not in ['struct', 'union', 'vol_class']:
raise exceptions.SymbolSpaceError("Unknown Intermediate format: {}".format(dictionary))
reference_name = dictionary['name']