Mercurial > pub > dyncall > dyncall
changeset 577:864cf3c3ceb9
mdoc tweak
author | Tassilo Philipp |
---|---|
date | Thu, 08 Sep 2022 15:31:44 +0200 |
parents | 53de6e16f445 |
children | 87b5f5d7af1f |
files | dyncall/dyncall.3 |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/dyncall/dyncall.3 Thu Sep 08 12:19:51 2022 +0200 +++ b/dyncall/dyncall.3 Thu Sep 08 15:31:44 2022 +0200 @@ -377,7 +377,8 @@ .Ed .Pp Omitting creation of the -.Sy DCaggr *a +.Sy DCaggr +.Ar *a description, for simplicity: .Bd -literal -offset indent struct S s; @@ -401,9 +402,9 @@ .Pp To keep the example simple, let's assume we have a pointer to this virtual method in var -.Sy mptr +.Ar mptr (e.g. grabbed from the instance's vtable), and a pointer to the instance in var -.Sy thisptr : +.Ar thisptr : .Bd -literal -offset indent /* thiscall calling convention */ dcMode(vm, DC_CALL_C_DEFAULT_THIS);