Skip to content

Commit

Permalink
[swig] refs skycoin#133 Updated Manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevMac committed May 5, 2019
1 parent dc3e178 commit f5f38d0
Show file tree
Hide file tree
Showing 4 changed files with 30,100 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/swig/MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ recursive-include gopath/src/github.com/skycoin/skycoin/include *
recursive-exclude . *.orig
exclude .github
exclude .travis
exclude lib/skyapi
exclude .pytest_cache
recursive-exclude .github *
recursive-exclude .travis *
recursive-exclude lib/skyapi *
recursive-exclude .pytest_cache *

56 changes: 56 additions & 0 deletions lib/swig/swig/include/swig.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@

typedef struct{
GoUint8 data[33];
} cipher_PubKey;

typedef struct{
GoUint8 data[32];
} cipher_SecKey;

typedef struct{
GoUint8 data[20];
} cipher_Ripemd160;

typedef struct{
GoUint8 data[65];
} cipher_Sig;

typedef struct{
GoUint8 data[32];
} cipher_SHA256;

typedef struct{
GoUint8 data[4];
} cipher_Checksum;

typedef struct{
cipher_SecKey* data;
int count;
} cipher_SecKeys;

typedef struct{
cipher_PubKey* data;
int count;
} cipher_PubKeys;

typedef struct{
cipher_SHA256* data;
int count;
} cipher_SHA256s;

typedef struct{
coin__UxOut* data;
int count;
} coin_UxOutArray;

typedef struct{
cipher__Address* data;
int count;
} cipher_Addresses;

typedef GoUint32_ (*FeeCalcFunc)(Transaction__Handle handle, unsigned long long * pFee, void* context);

typedef struct {
FeeCalcFunc callback;
void* context;
} Fee_Calculator ;
Loading

0 comments on commit f5f38d0

Please sign in to comment.