From 2311387527f9d2ea15be95847f73fc9571342c85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Sun, 24 Sep 2023 13:11:52 +0200 Subject: [PATCH] vrclient: Remove unused wrapper generation case. CW-Bug-Id: #22729 --- vrclient_x64/gen_wrapper.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/vrclient_x64/gen_wrapper.py b/vrclient_x64/gen_wrapper.py index b23c57e1..92dcf04b 100755 --- a/vrclient_x64/gen_wrapper.py +++ b/vrclient_x64/gen_wrapper.py @@ -713,10 +713,6 @@ def handle_method_c(method, classname, winclassname, cppname, iface_version, out else: out(u' ') - should_gen_wrapper = strip_ns(method.result_type.spelling).startswith("IVR") - if should_gen_wrapper: - out(u'create_win_interface(pchNameAndVersion,\n ') - is_method_overridden = False for classname_pattern, methodname, override_generator in method_overrides: if method.name == methodname and classname_pattern in classname: @@ -736,11 +732,6 @@ def handle_method_c(method, classname, winclassname, cppname, iface_version, out params = ['_this'] + list(method.get_arguments()) out(", ".join([param_call(p, n) for p, n in zip(params, names)])) - if should_gen_wrapper: - out(u')') - - if should_gen_wrapper: - out(u')') if is_method_overridden: out(f', {iface_version[iface_version.find("_") + 1:].lstrip("0")}') for classname_pattern, user_data_type, _ in method_overrides_data: