Cdecl calling convention. .. note:: Make sure the calling convention has been registered with `Architecture.register_calling_convention`. :getter: returns a CallingConvention object for the cdecl calling convention, if one exists. :setter: sets the cdecl calling convention :type: Option
(self)
| 2017 | |
| 2018 | @property |
| 2019 | def cdecl_calling_convention(self): |
| 2020 | """ |
| 2021 | Cdecl calling convention. |
| 2022 | |
| 2023 | .. note:: Make sure the calling convention has been registered with `Architecture.register_calling_convention`. |
| 2024 | |
| 2025 | :getter: returns a CallingConvention object for the cdecl calling convention, if one exists. |
| 2026 | :setter: sets the cdecl calling convention |
| 2027 | :type: Optional['callingconvention.CallingConvention'] |
| 2028 | """ |
| 2029 | cc_handle = core.BNGetArchitectureCdeclCallingConvention(self.handle) |
| 2030 | if cc_handle is None: |
| 2031 | return None |
| 2032 | return callingconvention.CallingConvention(handle=cc_handle) |
| 2033 | |
| 2034 | @cdecl_calling_convention.setter |
| 2035 | def cdecl_calling_convention(self, cc: 'callingconvention.CallingConvention'): |
nothing calls this directly
no test coverage detected