Stdcall calling convention. .. note:: Make sure the calling convention has been registered with `Architecture.register_calling_convention`. :getter: returns a CallingConvention object for the stdcall calling convention, if one exists. :setter: sets the stdcall calling convention :type:
(self)
| 2037 | |
| 2038 | @property |
| 2039 | def stdcall_calling_convention(self): |
| 2040 | """ |
| 2041 | Stdcall calling convention. |
| 2042 | |
| 2043 | .. note:: Make sure the calling convention has been registered with `Architecture.register_calling_convention`. |
| 2044 | |
| 2045 | :getter: returns a CallingConvention object for the stdcall calling convention, if one exists. |
| 2046 | :setter: sets the stdcall calling convention |
| 2047 | :type: Optional['callingconvention.CallingConvention'] |
| 2048 | """ |
| 2049 | cc_handle = core.BNGetArchitectureStdcallCallingConvention(self.handle) |
| 2050 | if cc_handle is None: |
| 2051 | return None |
| 2052 | return callingconvention.CallingConvention(handle=cc_handle) |
| 2053 | |
| 2054 | @stdcall_calling_convention.setter |
| 2055 | def stdcall_calling_convention(self, cc: 'callingconvention.CallingConvention'): |
nothing calls this directly
no test coverage detected