github.com/kchristidis/fabric@v1.0.4-0.20171028114726-837acd08cde1/examples/chaincode/go/utxo/consensus/consensus_wrap.cxx (about)

     1  /* ----------------------------------------------------------------------------
     2   * This file was automatically generated by SWIG (http://www.swig.org).
     3   * Version 3.0.8
     4   *
     5   * This file is not intended to be easily readable and contains a number of
     6   * coding conventions designed to improve portability and efficiency. Do not make
     7   * changes to this file unless you know what you are doing--modify the SWIG
     8   * interface file instead.
     9   * ----------------------------------------------------------------------------- */
    10  
    11  // source: consensus.swg
    12  
    13  #define SWIGMODULE consensus
    14  
    15  #ifdef __cplusplus
    16  /* SwigValueWrapper is described in swig.swg */
    17  template<typename T> class SwigValueWrapper {
    18    struct SwigMovePointer {
    19      T *ptr;
    20      SwigMovePointer(T *p) : ptr(p) { }
    21      ~SwigMovePointer() { delete ptr; }
    22      SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
    23    } pointer;
    24    SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
    25    SwigValueWrapper(const SwigValueWrapper<T>& rhs);
    26  public:
    27    SwigValueWrapper() : pointer(0) { }
    28    SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
    29    operator T&() const { return *pointer.ptr; }
    30    T *operator&() { return pointer.ptr; }
    31  };
    32  
    33  template <typename T> T SwigValueInit() {
    34    return T();
    35  }
    36  #endif
    37  
    38  /* -----------------------------------------------------------------------------
    39   *  This section contains generic SWIG labels for method/variable
    40   *  declarations/attributes, and other compiler dependent labels.
    41   * ----------------------------------------------------------------------------- */
    42  
    43  /* template workaround for compilers that cannot correctly implement the C++ standard */
    44  #ifndef SWIGTEMPLATEDISAMBIGUATOR
    45  # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
    46  #  define SWIGTEMPLATEDISAMBIGUATOR template
    47  # elif defined(__HP_aCC)
    48  /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
    49  /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
    50  #  define SWIGTEMPLATEDISAMBIGUATOR template
    51  # else
    52  #  define SWIGTEMPLATEDISAMBIGUATOR
    53  # endif
    54  #endif
    55  
    56  /* inline attribute */
    57  #ifndef SWIGINLINE
    58  # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
    59  #   define SWIGINLINE inline
    60  # else
    61  #   define SWIGINLINE
    62  # endif
    63  #endif
    64  
    65  /* attribute recognised by some compilers to avoid 'unused' warnings */
    66  #ifndef SWIGUNUSED
    67  # if defined(__GNUC__)
    68  #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
    69  #     define SWIGUNUSED __attribute__ ((__unused__))
    70  #   else
    71  #     define SWIGUNUSED
    72  #   endif
    73  # elif defined(__ICC)
    74  #   define SWIGUNUSED __attribute__ ((__unused__))
    75  # else
    76  #   define SWIGUNUSED
    77  # endif
    78  #endif
    79  
    80  #ifndef SWIG_MSC_UNSUPPRESS_4505
    81  # if defined(_MSC_VER)
    82  #   pragma warning(disable : 4505) /* unreferenced local function has been removed */
    83  # endif
    84  #endif
    85  
    86  #ifndef SWIGUNUSEDPARM
    87  # ifdef __cplusplus
    88  #   define SWIGUNUSEDPARM(p)
    89  # else
    90  #   define SWIGUNUSEDPARM(p) p SWIGUNUSED
    91  # endif
    92  #endif
    93  
    94  /* internal SWIG method */
    95  #ifndef SWIGINTERN
    96  # define SWIGINTERN static SWIGUNUSED
    97  #endif
    98  
    99  /* internal inline SWIG method */
   100  #ifndef SWIGINTERNINLINE
   101  # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
   102  #endif
   103  
   104  /* exporting methods */
   105  #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
   106  #  ifndef GCC_HASCLASSVISIBILITY
   107  #    define GCC_HASCLASSVISIBILITY
   108  #  endif
   109  #endif
   110  
   111  #ifndef SWIGEXPORT
   112  # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
   113  #   if defined(STATIC_LINKED)
   114  #     define SWIGEXPORT
   115  #   else
   116  #     define SWIGEXPORT __declspec(dllexport)
   117  #   endif
   118  # else
   119  #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
   120  #     define SWIGEXPORT __attribute__ ((visibility("default")))
   121  #   else
   122  #     define SWIGEXPORT
   123  #   endif
   124  # endif
   125  #endif
   126  
   127  /* calling conventions for Windows */
   128  #ifndef SWIGSTDCALL
   129  # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
   130  #   define SWIGSTDCALL __stdcall
   131  # else
   132  #   define SWIGSTDCALL
   133  # endif
   134  #endif
   135  
   136  /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
   137  #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
   138  # define _CRT_SECURE_NO_DEPRECATE
   139  #endif
   140  
   141  /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
   142  #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
   143  # define _SCL_SECURE_NO_DEPRECATE
   144  #endif
   145  
   146  /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
   147  #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
   148  # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
   149  #endif
   150  
   151  /* Intel's compiler complains if a variable which was never initialised is
   152   * cast to void, which is a common idiom which we use to indicate that we
   153   * are aware a variable isn't used.  So we just silence that warning.
   154   * See: https://github.com/swig/swig/issues/192 for more discussion.
   155   */
   156  #ifdef __INTEL_COMPILER
   157  # pragma warning disable 592
   158  #endif
   159  
   160  
   161  #include <stddef.h>
   162  #include <stdio.h>
   163  #include <stdlib.h>
   164  #include <string.h>
   165  #include <sys/types.h>
   166  
   167  
   168  
   169  typedef int intgo;
   170  typedef unsigned int uintgo;
   171  
   172  
   173  
   174  typedef struct { char *p; intgo n; } _gostring_;
   175  typedef struct { void* array; intgo len; intgo cap; } _goslice_;
   176  
   177  
   178  
   179  
   180  #define swiggo_size_assert_eq(x, y, name) typedef char name[(x-y)*(x-y)*-2+1];
   181  #define swiggo_size_assert(t, n) swiggo_size_assert_eq(sizeof(t), n, swiggo_sizeof_##t##_is_not_##n)
   182  
   183  swiggo_size_assert(char, 1)
   184  swiggo_size_assert(short, 2)
   185  swiggo_size_assert(int, 4)
   186  typedef long long swiggo_long_long;
   187  swiggo_size_assert(swiggo_long_long, 8)
   188  swiggo_size_assert(float, 4)
   189  swiggo_size_assert(double, 8)
   190  
   191  #ifdef __cplusplus
   192  extern "C" {
   193  #endif
   194  extern void crosscall2(void (*fn)(void *, int), void *, int);
   195  extern char* _cgo_topofstack(void) __attribute__ ((weak));
   196  extern void _cgo_allocate(void *, int);
   197  extern void _cgo_panic(void *, int);
   198  #ifdef __cplusplus
   199  }
   200  #endif
   201  
   202  static char *_swig_topofstack() {
   203    if (_cgo_topofstack) {
   204      return _cgo_topofstack();
   205    } else {
   206      return 0;
   207    }
   208  }
   209  
   210  static void _swig_gopanic(const char *p) {
   211    struct {
   212      const char *p;
   213    } a;
   214    a.p = p;
   215    crosscall2(_cgo_panic, &a, (int) sizeof a);
   216  }
   217  
   218  
   219  
   220  
   221  #define SWIG_contract_assert(expr, msg) \
   222    if (!(expr)) { _swig_gopanic(msg); } else
   223  
   224  
   225  static void Swig_free(void* p) {
   226    free(p);
   227  }
   228  
   229  
   230  #include <bitcoin/consensus.hpp>
   231  
   232  #ifdef __cplusplus
   233  extern "C" {
   234  #endif
   235  
   236  void _wrap_Swig_free_consensus_0731991c73947514(void *_swig_go_0) {
   237    void *arg1 = (void *) 0 ;
   238  
   239    arg1 = *(void **)&_swig_go_0;
   240  
   241    Swig_free(arg1);
   242  
   243  }
   244  
   245  
   246  intgo _wrap_verify_result_eval_false_consensus_0731991c73947514() {
   247    libbitcoin::consensus::verify_result_type result;
   248    intgo _swig_go_result;
   249  
   250  
   251    result = libbitcoin::consensus::verify_result_eval_false;
   252  
   253    _swig_go_result = (intgo)result;
   254    return _swig_go_result;
   255  }
   256  
   257  
   258  intgo _wrap_verify_result_eval_true_consensus_0731991c73947514() {
   259    libbitcoin::consensus::verify_result_type result;
   260    intgo _swig_go_result;
   261  
   262  
   263    result = libbitcoin::consensus::verify_result_eval_true;
   264  
   265    _swig_go_result = (intgo)result;
   266    return _swig_go_result;
   267  }
   268  
   269  
   270  intgo _wrap_verify_result_script_size_consensus_0731991c73947514() {
   271    libbitcoin::consensus::verify_result_type result;
   272    intgo _swig_go_result;
   273  
   274  
   275    result = libbitcoin::consensus::verify_result_script_size;
   276  
   277    _swig_go_result = (intgo)result;
   278    return _swig_go_result;
   279  }
   280  
   281  
   282  intgo _wrap_verify_result_push_size_consensus_0731991c73947514() {
   283    libbitcoin::consensus::verify_result_type result;
   284    intgo _swig_go_result;
   285  
   286  
   287    result = libbitcoin::consensus::verify_result_push_size;
   288  
   289    _swig_go_result = (intgo)result;
   290    return _swig_go_result;
   291  }
   292  
   293  
   294  intgo _wrap_verify_result_op_count_consensus_0731991c73947514() {
   295    libbitcoin::consensus::verify_result_type result;
   296    intgo _swig_go_result;
   297  
   298  
   299    result = libbitcoin::consensus::verify_result_op_count;
   300  
   301    _swig_go_result = (intgo)result;
   302    return _swig_go_result;
   303  }
   304  
   305  
   306  intgo _wrap_verify_result_stack_size_consensus_0731991c73947514() {
   307    libbitcoin::consensus::verify_result_type result;
   308    intgo _swig_go_result;
   309  
   310  
   311    result = libbitcoin::consensus::verify_result_stack_size;
   312  
   313    _swig_go_result = (intgo)result;
   314    return _swig_go_result;
   315  }
   316  
   317  
   318  intgo _wrap_verify_result_sig_count_consensus_0731991c73947514() {
   319    libbitcoin::consensus::verify_result_type result;
   320    intgo _swig_go_result;
   321  
   322  
   323    result = libbitcoin::consensus::verify_result_sig_count;
   324  
   325    _swig_go_result = (intgo)result;
   326    return _swig_go_result;
   327  }
   328  
   329  
   330  intgo _wrap_verify_result_pubkey_count_consensus_0731991c73947514() {
   331    libbitcoin::consensus::verify_result_type result;
   332    intgo _swig_go_result;
   333  
   334  
   335    result = libbitcoin::consensus::verify_result_pubkey_count;
   336  
   337    _swig_go_result = (intgo)result;
   338    return _swig_go_result;
   339  }
   340  
   341  
   342  intgo _wrap_verify_result_verify_consensus_0731991c73947514() {
   343    libbitcoin::consensus::verify_result_type result;
   344    intgo _swig_go_result;
   345  
   346  
   347    result = libbitcoin::consensus::verify_result_verify;
   348  
   349    _swig_go_result = (intgo)result;
   350    return _swig_go_result;
   351  }
   352  
   353  
   354  intgo _wrap_verify_result_equalverify_consensus_0731991c73947514() {
   355    libbitcoin::consensus::verify_result_type result;
   356    intgo _swig_go_result;
   357  
   358  
   359    result = libbitcoin::consensus::verify_result_equalverify;
   360  
   361    _swig_go_result = (intgo)result;
   362    return _swig_go_result;
   363  }
   364  
   365  
   366  intgo _wrap_verify_result_checkmultisigverify_consensus_0731991c73947514() {
   367    libbitcoin::consensus::verify_result_type result;
   368    intgo _swig_go_result;
   369  
   370  
   371    result = libbitcoin::consensus::verify_result_checkmultisigverify;
   372  
   373    _swig_go_result = (intgo)result;
   374    return _swig_go_result;
   375  }
   376  
   377  
   378  intgo _wrap_verify_result_checksigverify_consensus_0731991c73947514() {
   379    libbitcoin::consensus::verify_result_type result;
   380    intgo _swig_go_result;
   381  
   382  
   383    result = libbitcoin::consensus::verify_result_checksigverify;
   384  
   385    _swig_go_result = (intgo)result;
   386    return _swig_go_result;
   387  }
   388  
   389  
   390  intgo _wrap_verify_result_numequalverify_consensus_0731991c73947514() {
   391    libbitcoin::consensus::verify_result_type result;
   392    intgo _swig_go_result;
   393  
   394  
   395    result = libbitcoin::consensus::verify_result_numequalverify;
   396  
   397    _swig_go_result = (intgo)result;
   398    return _swig_go_result;
   399  }
   400  
   401  
   402  intgo _wrap_verify_result_bad_opcode_consensus_0731991c73947514() {
   403    libbitcoin::consensus::verify_result_type result;
   404    intgo _swig_go_result;
   405  
   406  
   407    result = libbitcoin::consensus::verify_result_bad_opcode;
   408  
   409    _swig_go_result = (intgo)result;
   410    return _swig_go_result;
   411  }
   412  
   413  
   414  intgo _wrap_verify_result_disabled_opcode_consensus_0731991c73947514() {
   415    libbitcoin::consensus::verify_result_type result;
   416    intgo _swig_go_result;
   417  
   418  
   419    result = libbitcoin::consensus::verify_result_disabled_opcode;
   420  
   421    _swig_go_result = (intgo)result;
   422    return _swig_go_result;
   423  }
   424  
   425  
   426  intgo _wrap_verify_result_invalid_stack_operation_consensus_0731991c73947514() {
   427    libbitcoin::consensus::verify_result_type result;
   428    intgo _swig_go_result;
   429  
   430  
   431    result = libbitcoin::consensus::verify_result_invalid_stack_operation;
   432  
   433    _swig_go_result = (intgo)result;
   434    return _swig_go_result;
   435  }
   436  
   437  
   438  intgo _wrap_verify_result_invalid_altstack_operation_consensus_0731991c73947514() {
   439    libbitcoin::consensus::verify_result_type result;
   440    intgo _swig_go_result;
   441  
   442  
   443    result = libbitcoin::consensus::verify_result_invalid_altstack_operation;
   444  
   445    _swig_go_result = (intgo)result;
   446    return _swig_go_result;
   447  }
   448  
   449  
   450  intgo _wrap_verify_result_unbalanced_conditional_consensus_0731991c73947514() {
   451    libbitcoin::consensus::verify_result_type result;
   452    intgo _swig_go_result;
   453  
   454  
   455    result = libbitcoin::consensus::verify_result_unbalanced_conditional;
   456  
   457    _swig_go_result = (intgo)result;
   458    return _swig_go_result;
   459  }
   460  
   461  
   462  intgo _wrap_verify_result_sig_hashtype_consensus_0731991c73947514() {
   463    libbitcoin::consensus::verify_result_type result;
   464    intgo _swig_go_result;
   465  
   466  
   467    result = libbitcoin::consensus::verify_result_sig_hashtype;
   468  
   469    _swig_go_result = (intgo)result;
   470    return _swig_go_result;
   471  }
   472  
   473  
   474  intgo _wrap_verify_result_sig_der_consensus_0731991c73947514() {
   475    libbitcoin::consensus::verify_result_type result;
   476    intgo _swig_go_result;
   477  
   478  
   479    result = libbitcoin::consensus::verify_result_sig_der;
   480  
   481    _swig_go_result = (intgo)result;
   482    return _swig_go_result;
   483  }
   484  
   485  
   486  intgo _wrap_verify_result_minimaldata_consensus_0731991c73947514() {
   487    libbitcoin::consensus::verify_result_type result;
   488    intgo _swig_go_result;
   489  
   490  
   491    result = libbitcoin::consensus::verify_result_minimaldata;
   492  
   493    _swig_go_result = (intgo)result;
   494    return _swig_go_result;
   495  }
   496  
   497  
   498  intgo _wrap_verify_result_sig_pushonly_consensus_0731991c73947514() {
   499    libbitcoin::consensus::verify_result_type result;
   500    intgo _swig_go_result;
   501  
   502  
   503    result = libbitcoin::consensus::verify_result_sig_pushonly;
   504  
   505    _swig_go_result = (intgo)result;
   506    return _swig_go_result;
   507  }
   508  
   509  
   510  intgo _wrap_verify_result_sig_high_s_consensus_0731991c73947514() {
   511    libbitcoin::consensus::verify_result_type result;
   512    intgo _swig_go_result;
   513  
   514  
   515    result = libbitcoin::consensus::verify_result_sig_high_s;
   516  
   517    _swig_go_result = (intgo)result;
   518    return _swig_go_result;
   519  }
   520  
   521  
   522  intgo _wrap_verify_result_sig_nulldummy_consensus_0731991c73947514() {
   523    libbitcoin::consensus::verify_result_type result;
   524    intgo _swig_go_result;
   525  
   526  
   527    result = libbitcoin::consensus::verify_result_sig_nulldummy;
   528  
   529    _swig_go_result = (intgo)result;
   530    return _swig_go_result;
   531  }
   532  
   533  
   534  intgo _wrap_verify_result_pubkeytype_consensus_0731991c73947514() {
   535    libbitcoin::consensus::verify_result_type result;
   536    intgo _swig_go_result;
   537  
   538  
   539    result = libbitcoin::consensus::verify_result_pubkeytype;
   540  
   541    _swig_go_result = (intgo)result;
   542    return _swig_go_result;
   543  }
   544  
   545  
   546  intgo _wrap_verify_result_cleanstack_consensus_0731991c73947514() {
   547    libbitcoin::consensus::verify_result_type result;
   548    intgo _swig_go_result;
   549  
   550  
   551    result = libbitcoin::consensus::verify_result_cleanstack;
   552  
   553    _swig_go_result = (intgo)result;
   554    return _swig_go_result;
   555  }
   556  
   557  
   558  intgo _wrap_verify_result_discourage_upgradable_nops_consensus_0731991c73947514() {
   559    libbitcoin::consensus::verify_result_type result;
   560    intgo _swig_go_result;
   561  
   562  
   563    result = libbitcoin::consensus::verify_result_discourage_upgradable_nops;
   564  
   565    _swig_go_result = (intgo)result;
   566    return _swig_go_result;
   567  }
   568  
   569  
   570  intgo _wrap_verify_result_op_return_consensus_0731991c73947514() {
   571    libbitcoin::consensus::verify_result_type result;
   572    intgo _swig_go_result;
   573  
   574  
   575    result = libbitcoin::consensus::verify_result_op_return;
   576  
   577    _swig_go_result = (intgo)result;
   578    return _swig_go_result;
   579  }
   580  
   581  
   582  intgo _wrap_verify_result_unknown_error_consensus_0731991c73947514() {
   583    libbitcoin::consensus::verify_result_type result;
   584    intgo _swig_go_result;
   585  
   586  
   587    result = libbitcoin::consensus::verify_result_unknown_error;
   588  
   589    _swig_go_result = (intgo)result;
   590    return _swig_go_result;
   591  }
   592  
   593  
   594  intgo _wrap_verify_result_tx_invalid_consensus_0731991c73947514() {
   595    libbitcoin::consensus::verify_result_type result;
   596    intgo _swig_go_result;
   597  
   598  
   599    result = libbitcoin::consensus::verify_result_tx_invalid;
   600  
   601    _swig_go_result = (intgo)result;
   602    return _swig_go_result;
   603  }
   604  
   605  
   606  intgo _wrap_verify_result_tx_size_invalid_consensus_0731991c73947514() {
   607    libbitcoin::consensus::verify_result_type result;
   608    intgo _swig_go_result;
   609  
   610  
   611    result = libbitcoin::consensus::verify_result_tx_size_invalid;
   612  
   613    _swig_go_result = (intgo)result;
   614    return _swig_go_result;
   615  }
   616  
   617  
   618  intgo _wrap_verify_result_tx_input_invalid_consensus_0731991c73947514() {
   619    libbitcoin::consensus::verify_result_type result;
   620    intgo _swig_go_result;
   621  
   622  
   623    result = libbitcoin::consensus::verify_result_tx_input_invalid;
   624  
   625    _swig_go_result = (intgo)result;
   626    return _swig_go_result;
   627  }
   628  
   629  
   630  intgo _wrap_verify_result_negative_locktime_consensus_0731991c73947514() {
   631    libbitcoin::consensus::verify_result_type result;
   632    intgo _swig_go_result;
   633  
   634  
   635    result = libbitcoin::consensus::verify_result_negative_locktime;
   636  
   637    _swig_go_result = (intgo)result;
   638    return _swig_go_result;
   639  }
   640  
   641  
   642  intgo _wrap_verify_result_unsatisfied_locktime_consensus_0731991c73947514() {
   643    libbitcoin::consensus::verify_result_type result;
   644    intgo _swig_go_result;
   645  
   646  
   647    result = libbitcoin::consensus::verify_result_unsatisfied_locktime;
   648  
   649    _swig_go_result = (intgo)result;
   650    return _swig_go_result;
   651  }
   652  
   653  
   654  intgo _wrap_verify_flags_none_consensus_0731991c73947514() {
   655    libbitcoin::consensus::verify_flags_type result;
   656    intgo _swig_go_result;
   657  
   658  
   659    result = libbitcoin::consensus::verify_flags_none;
   660  
   661    _swig_go_result = (intgo)result;
   662    return _swig_go_result;
   663  }
   664  
   665  
   666  intgo _wrap_verify_flags_p2sh_consensus_0731991c73947514() {
   667    libbitcoin::consensus::verify_flags_type result;
   668    intgo _swig_go_result;
   669  
   670  
   671    result = libbitcoin::consensus::verify_flags_p2sh;
   672  
   673    _swig_go_result = (intgo)result;
   674    return _swig_go_result;
   675  }
   676  
   677  
   678  intgo _wrap_verify_flags_strictenc_consensus_0731991c73947514() {
   679    libbitcoin::consensus::verify_flags_type result;
   680    intgo _swig_go_result;
   681  
   682  
   683    result = libbitcoin::consensus::verify_flags_strictenc;
   684  
   685    _swig_go_result = (intgo)result;
   686    return _swig_go_result;
   687  }
   688  
   689  
   690  intgo _wrap_verify_flags_dersig_consensus_0731991c73947514() {
   691    libbitcoin::consensus::verify_flags_type result;
   692    intgo _swig_go_result;
   693  
   694  
   695    result = libbitcoin::consensus::verify_flags_dersig;
   696  
   697    _swig_go_result = (intgo)result;
   698    return _swig_go_result;
   699  }
   700  
   701  
   702  intgo _wrap_verify_flags_low_s_consensus_0731991c73947514() {
   703    libbitcoin::consensus::verify_flags_type result;
   704    intgo _swig_go_result;
   705  
   706  
   707    result = libbitcoin::consensus::verify_flags_low_s;
   708  
   709    _swig_go_result = (intgo)result;
   710    return _swig_go_result;
   711  }
   712  
   713  
   714  intgo _wrap_verify_flags_nulldummy_consensus_0731991c73947514() {
   715    libbitcoin::consensus::verify_flags_type result;
   716    intgo _swig_go_result;
   717  
   718  
   719    result = libbitcoin::consensus::verify_flags_nulldummy;
   720  
   721    _swig_go_result = (intgo)result;
   722    return _swig_go_result;
   723  }
   724  
   725  
   726  intgo _wrap_verify_flags_sigpushonly_consensus_0731991c73947514() {
   727    libbitcoin::consensus::verify_flags_type result;
   728    intgo _swig_go_result;
   729  
   730  
   731    result = libbitcoin::consensus::verify_flags_sigpushonly;
   732  
   733    _swig_go_result = (intgo)result;
   734    return _swig_go_result;
   735  }
   736  
   737  
   738  intgo _wrap_verify_flags_minimaldata_consensus_0731991c73947514() {
   739    libbitcoin::consensus::verify_flags_type result;
   740    intgo _swig_go_result;
   741  
   742  
   743    result = libbitcoin::consensus::verify_flags_minimaldata;
   744  
   745    _swig_go_result = (intgo)result;
   746    return _swig_go_result;
   747  }
   748  
   749  
   750  intgo _wrap_verify_flags_discourage_upgradable_nops_consensus_0731991c73947514() {
   751    libbitcoin::consensus::verify_flags_type result;
   752    intgo _swig_go_result;
   753  
   754  
   755    result = libbitcoin::consensus::verify_flags_discourage_upgradable_nops;
   756  
   757    _swig_go_result = (intgo)result;
   758    return _swig_go_result;
   759  }
   760  
   761  
   762  intgo _wrap_verify_flags_cleanstack_consensus_0731991c73947514() {
   763    libbitcoin::consensus::verify_flags_type result;
   764    intgo _swig_go_result;
   765  
   766  
   767    result = libbitcoin::consensus::verify_flags_cleanstack;
   768  
   769    _swig_go_result = (intgo)result;
   770    return _swig_go_result;
   771  }
   772  
   773  
   774  intgo _wrap_verify_flags_checklocktimeverify_consensus_0731991c73947514() {
   775    libbitcoin::consensus::verify_flags_type result;
   776    intgo _swig_go_result;
   777  
   778  
   779    result = libbitcoin::consensus::verify_flags_checklocktimeverify;
   780  
   781    _swig_go_result = (intgo)result;
   782    return _swig_go_result;
   783  }
   784  
   785  
   786  intgo _wrap_verify_script_consensus_0731991c73947514(char *_swig_go_0, long long _swig_go_1, char *_swig_go_2, long long _swig_go_3, intgo _swig_go_4, intgo _swig_go_5) {
   787    unsigned char *arg1 = (unsigned char *) 0 ;
   788    size_t arg2 ;
   789    unsigned char *arg3 = (unsigned char *) 0 ;
   790    size_t arg4 ;
   791    unsigned int arg5 ;
   792    unsigned int arg6 ;
   793    libbitcoin::consensus::verify_result_type result;
   794    intgo _swig_go_result;
   795  
   796    arg1 = *(unsigned char **)&_swig_go_0;
   797    arg2 = (size_t)_swig_go_1;
   798    arg3 = *(unsigned char **)&_swig_go_2;
   799    arg4 = (size_t)_swig_go_3;
   800    arg5 = (unsigned int)_swig_go_4;
   801    arg6 = (unsigned int)_swig_go_5;
   802  
   803    result = (libbitcoin::consensus::verify_result_type)libbitcoin::consensus::verify_script((unsigned char const *)arg1,arg2,(unsigned char const *)arg3,arg4,arg5,arg6);
   804    _swig_go_result = (intgo)result;
   805    return _swig_go_result;
   806  }
   807  
   808  
   809  #ifdef __cplusplus
   810  }
   811  #endif
   812