diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/GlueGen_Mapping.html | 7 | ||||
-rw-r--r-- | 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</a> <code>CallbackFunction</code> and <code>UserParam</code>.</p> <p>The callback <code>T2_CallbackFunc11</code> is managed by the toolkit -and passed to the callback function, while user passes a <em>void</em> -with the registration method <code>MessageCallback11b(..)</code>. The -toolkit associates the users' <code>void*</code> pointer with the +and passed to the callback function, while user passes a +<code>void*</code> as a <code>long</code> value to the registration +method <code>MessageCallback11b(..)</code>. The toolkit associates the +users' <code>void*</code> pointer with the <code>T2_CallbackFunc11</code>.</p> <p>C-API Header snipped</p> <pre><code> 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 |