made msvc happier

pull/8/head
Karroffel 2017-05-16 09:00:17 +02:00
parent fad8f7c9eb
commit 9caeb8d296
1 changed files with 3 additions and 2 deletions

View File

@ -283,6 +283,7 @@ def generate_class_implementation(icalls, used_classes, c):
if method["is_virtual"] or method["has_varargs"]: if method["is_virtual"] or method["has_varargs"]:
if len(method["arguments"]) != 0:
source.append("\tVariant __given_args[" + str(len(method["arguments"])) + "];") source.append("\tVariant __given_args[" + str(len(method["arguments"])) + "];")
for i, argument in enumerate(method["arguments"]): for i, argument in enumerate(method["arguments"]):