summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorHuy Doan <106477+ba0f3@users.noreply.github.com>2020-05-27 21:24:47 +0700
committerGitHub <noreply@github.com>2020-05-27 16:24:47 +0200
commit00fa7a57476ed6fe81fb2d9171ba902fad9b83d5 (patch)
treead0e3d12e7179d182839bc2d8c5fa999c7f2db9b /doc
parentcc65ae6011eeb7f85726e6eebfc8dee922ad3451 (diff)
downloadNim-00fa7a57476ed6fe81fb2d9171ba902fad9b83d5.tar.gz
Add thiscall calling convention, mostly for hooking purpose (#14466)
* Add thiscall calling convention, mostly for hooking purpose
* add changelog and documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/manual.rst b/doc/manual.rst
index 2c39b3e73..1472dd4e6 100644
--- a/doc/manual.rst
+++ b/doc/manual.rst
@@ -1917,6 +1917,10 @@ Nim supports these `calling conventions`:idx:\:
     Fastcall means different things to different C compilers. One gets whatever
     the C ``__fastcall`` means.
 
+`thiscall`:idx:
+    This is thiscall calling convention as specified by Microsoft, used on C++
+    class member functions on the x86 architecture
+
 `syscall`:idx:
     The syscall convention is the same as ``__syscall`` in C. It is used for
     interrupts.