From b12cdc1ac3b0a834627728d25c33f1a983c9c2b5 Mon Sep 17 00:00:00 2001 From: Sam Scott Date: Sat, 17 Feb 2018 15:40:59 -0500 Subject: [PATCH] Ignore functions returning internal types. --- pasta.i | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pasta.i b/pasta.i index 4a7eed4..8e07c98 100644 --- a/pasta.i +++ b/pasta.i @@ -5,6 +5,10 @@ #if defined(SWIGJAVA) %include "enums.swg" #endif + +%ignore HashUpdate::HashUpdate; +%ignore PrimitiveWrapper::inner; + // %{ namespace ffi { @@ -22,7 +26,6 @@ char *updated = NULL; - public: HashUpdate(HashUpdateFfi *other) { switch(other->tag) { case HashUpdateFfi::Tag::Updated: @@ -187,7 +190,6 @@ class HashUpdate { char *updated = NULL; - public: HashUpdate(HashUpdateFfi *other); ~HashUpdate(); };