diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2021-03-26 16:03:51 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2021-03-26 16:03:51 -0400 |
| commit | 89fa6e3b285f2f83ff0e5d1c5b9907b1f4c33410 (patch) | |
| tree | 71945d3cf828c004b8b6b85878919448fd9df982 /python/platform.py | |
| parent | 558ba0464a340514c7ba26b2f8ad458844ab92c3 (diff) | |
updating to latest sphinx-rtd theme and many doc formatting fixes
Diffstat (limited to 'python/platform.py')
| -rw-r--r-- | python/platform.py | 36 |
1 files changed, 16 insertions, 20 deletions
diff --git a/python/platform.py b/python/platform.py index 4e407868..4983adff 100644 --- a/python/platform.py +++ b/python/platform.py @@ -153,11 +153,7 @@ class Platform(with_metaclass(_PlatformMetaClass, object)): @property def cdecl_calling_convention(self): """ - Cdecl calling convention. - - :getter: returns a CallingConvention object for the cdecl calling convention. - :setter sets the cdecl calling convention - :type: CallingConvention + CallingConvention object for the cdecl calling convention """ result = core.BNGetPlatformCdeclCallingConvention(self.handle) if result is None: @@ -166,16 +162,15 @@ class Platform(with_metaclass(_PlatformMetaClass, object)): @cdecl_calling_convention.setter def cdecl_calling_convention(self, value): + """ + Sets the cdecl calling convention + """ core.BNRegisterPlatformCdeclCallingConvention(self.handle, value.handle) @property def stdcall_calling_convention(self): """ - Stdcall calling convention. - - :getter: returns a CallingConvention object for the stdcall calling convention. - :setter sets the stdcall calling convention - :type: CallingConvention + CallingConvention object for the stdcall calling convention """ result = core.BNGetPlatformStdcallCallingConvention(self.handle) if result is None: @@ -184,16 +179,15 @@ class Platform(with_metaclass(_PlatformMetaClass, object)): @stdcall_calling_convention.setter def stdcall_calling_convention(self, value): + """ + Sets the stdcall calling convention + """ core.BNRegisterPlatformStdcallCallingConvention(self.handle, value.handle) @property def fastcall_calling_convention(self): """ - Fastcall calling convention. - - :getter: returns a CallingConvention object for the fastcall calling convention. - :setter sets the fastcall calling convention - :type: CallingConvention + CallingConvention object for the fastcall calling convention """ result = core.BNGetPlatformFastcallCallingConvention(self.handle) if result is None: @@ -202,16 +196,15 @@ class Platform(with_metaclass(_PlatformMetaClass, object)): @fastcall_calling_convention.setter def fastcall_calling_convention(self, value): + """ + Sets the fastcall calling convention + """ core.BNRegisterPlatformFastcallCallingConvention(self.handle, value.handle) @property def system_call_convention(self): """ - System call convention. - - :getter: returns a CallingConvention object for the system call convention. - :setter sets the system call convention - :type: CallingConvention + CallingConvention object for the system call convention """ result = core.BNGetPlatformSystemCallConvention(self.handle) if result is None: @@ -220,6 +213,9 @@ class Platform(with_metaclass(_PlatformMetaClass, object)): @system_call_convention.setter def system_call_convention(self, value): + """ + Sets the system call convention + """ core.BNSetPlatformSystemCallConvention(self.handle, value.handle) @property |
