From 0c4067379e5e12617b9a4530e607ca34762b54e3 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 4 Jul 2023 12:49:55 +0200 Subject: doc/GlueGen_Mapping.md: Quote `void*` correctly .. --- doc/GlueGen_Mapping.html | 7 ++++--- doc/GlueGen_Mapping.md | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/GlueGen_Mapping.html b/doc/GlueGen_Mapping.html index d1b5b04..674ef45 100644 --- a/doc/GlueGen_Mapping.html +++ b/doc/GlueGen_Mapping.html @@ -2478,9 +2478,10 @@ href="#struct-type-user-param-heterogeneous">heterogeneous href="#javacallback-key-definition">key-mapped CallbackFunction and UserParam.

The callback T2_CallbackFunc11 is managed by the toolkit -and passed to the callback function, while user passes a void -with the registration method MessageCallback11b(..). The -toolkit associates the users' void* pointer with the +and passed to the callback function, while user passes a +void* as a long value to the registration +method MessageCallback11b(..). The toolkit associates the +users' void* pointer with the T2_CallbackFunc11.

C-API Header snipped

  typedef struct {
diff --git a/doc/GlueGen_Mapping.md b/doc/GlueGen_Mapping.md
index 6453e64..68617a2 100644
--- a/doc/GlueGen_Mapping.md
+++ b/doc/GlueGen_Mapping.md
@@ -1197,7 +1197,7 @@ leading to the following interface
 
 This examples demonstrates a [heterogeneous *Struct* `UserParam` mapping](#struct-type-user-param-heterogeneous) with a [key-mapped](#javacallback-key-definition) `CallbackFunction` and `UserParam`.
 
-The callback `T2_CallbackFunc11` is managed by the toolkit and passed to the callback function, while user passes a *void* with the registration method `MessageCallback11b(..)`. The toolkit associates the users' `void*` pointer with the `T2_CallbackFunc11`.
+The callback `T2_CallbackFunc11` is managed by the toolkit and passed to the callback function, while user passes a `void*` as a `long` value to the registration method `MessageCallback11b(..)`. The toolkit associates the users' `void*` pointer with the `T2_CallbackFunc11`.
 
 
 C-API Header snipped
-- 
cgit v1.2.3