We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e91bf8f commit 00b4d29Copy full SHA for 00b4d29
PDFTronGo/pdftron.i
@@ -263,6 +263,16 @@ import "fmt"
263
return $cgocall
264
%}
265
266
+%typemap(gotype, out) SwigDirector_Callback* "$gotype"
267
+%typemap(cgoout, out) SwigDirector_Callback* %{
268
+ return $cgocall
269
+%}
270
+
271
+%typemap(gotype, out) SwigDirector_SignatureHandler* "$gotype"
272
+%typemap(cgoout, out) SwigDirector_SignatureHandler* %{
273
274
275
276
// Macro for generating gotype (adding error to return) and cgoout (adding panic recovery to return errors) typemaps
277
%define ERROR_HANDLING_TYPEMAPS(TYPE)
278
%typemap(gotype, out) TYPE "$gotype, error"
0 commit comments