From 0c4067379e5e12617b9a4530e607ca34762b54e3 Mon Sep 17 00:00:00 2001
From: Sven Gothel 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