# HG changeset patch # User Sebastien Jodogne # Date 1720002961 -7200 # Node ID 4e6079e27965bbf39433095d766d92926f15473a # Parent 234681297600c4e1c7710cf4eac3754f573a2d57 removed useless code diff -r 234681297600 -r 4e6079e27965 CodeAnalysis/GenerateOrthancSDK.py --- a/CodeAnalysis/GenerateOrthancSDK.py Wed Jul 03 12:35:13 2024 +0200 +++ b/CodeAnalysis/GenerateOrthancSDK.py Wed Jul 03 12:36:01 2024 +0200 @@ -277,12 +277,6 @@ 'initialization' : ' = 0', }) tuple_format += t['format'] - elif arg['sdk_type'] == 'Callable': - # This is only used to generate the documentation file "orthanc.pyi" - args.append({ - 'name' : arg['name'], - }) - tuple_format += 'O' else: print('Ignoring function with unsupported argument type: %s(), type = %s' % (f['c_function'], arg['sdk_type'])) return None