Skip to content

Commit

Permalink
Ignore functions returning internal types.
Browse files Browse the repository at this point in the history
  • Loading branch information
samscott89 committed Feb 17, 2018
1 parent 02faca1 commit b12cdc1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pasta.i
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
#if defined(SWIGJAVA)
%include "enums.swg"
#endif

%ignore HashUpdate::HashUpdate;
%ignore PrimitiveWrapper::inner;

//
%{
namespace ffi {
Expand All @@ -22,7 +26,6 @@

char *updated = NULL;

public:
HashUpdate(HashUpdateFfi *other) {
switch(other->tag) {
case HashUpdateFfi::Tag::Updated:
Expand Down Expand Up @@ -187,7 +190,6 @@ class HashUpdate {

char *updated = NULL;

public:
HashUpdate(HashUpdateFfi *other);
~HashUpdate();
};
Expand Down

0 comments on commit b12cdc1

Please sign in to comment.