nwaku/nimcache/release/example/@m..@s..@svendor@snim-secp256k1@ssecp256k1_abi.nim.c

89 lines
5.1 KiB
C

/* Generated by Nim Compiler v1.2.6 */
/* (c) 2020 Andreas Rumpf */
/* The generated code is subject to the original license. */
/* Compiled for: Linux, amd64, gcc */
/* Command for C compiler:
gcc -c -w -pthread -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace/install/usr/include -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1/src -DHAVE_CONFIG_H -DHAVE_BUILTIN_EXPECT -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/src -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/inc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/tools -DBR_USE_UNIX_TIME=1 -DBR_USE_URANDOM=1 -DBR_LE_UNALIGNED=1 -DBR_64=1 -DBR_amd64=1 -DBR_INT128=1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/miniupnp/miniupnpc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/libnatpmp-upstream -DENABLE_STRNATPMPERR -march=native -g3 -Og -O3 -fno-strict-aliasing -fno-ident -I/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib -I/home/runner/work/nim-waku/nim-waku/examples/v1 -o nimcache/release/example/@m..@s..@svendor@snim-secp256k1@ssecp256k1_abi.nim.c.o nimcache/release/example/@m..@s..@svendor@snim-secp256k1@ssecp256k1_abi.nim.c */
#define NIM_INTBITS 64
#include "nimbase.h"
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef far
#undef powerpc
#undef unix
#define nimfr_(x, y)
#define nimln_(x, y)
typedef struct tyObject_secp256k1_context__POjLS06vi9b462f9boSHL5vQ tyObject_secp256k1_context__POjLS06vi9b462f9boSHL5vQ;
typedef struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef N_CDECL_PTR(void, tyProc__8RYdN2QhIT3ZqUB9a3h67xw) (unsigned char* output, unsigned char* x32, unsigned char* y32, void* data);
typedef N_CDECL_PTR(int, tyProc__gZv9cNjZk34ctaQVDPYTI5A) (unsigned char* nonce32, unsigned char* msg32, unsigned char* key32, unsigned char* algo16, void* data, unsigned int attempt);
typedef NU8 tyArray__w5VB8h5K8DB3oWrO5U2wqg[64];
struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ {tyArray__w5VB8h5K8DB3oWrO5U2wqg data;
};
typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
struct TNimType {NI size;
tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
TNimType* base;
TNimNode* node;
void* finalizer;
tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
NCSTRING name;
TNimType* nextType;
NI instances;
NI sizes;
};
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
N_LIB_PRIVATE TNimType NTI__GYc9aFo1e2qOLdmAqUvIikQ_;
extern TNimType NTI__k3HXouOuhqAKq0dx450lXQ_;
N_LIB_PRIVATE TNimType NTI__w5VB8h5K8DB3oWrO5U2wqg_;
extern tyObject_secp256k1_context__POjLS06vi9b462f9boSHL5vQ* secp256k1_context_no_precomp;
extern tyProc__8RYdN2QhIT3ZqUB9a3h67xw secp256k1_ecdh_hash_function_default;
N_LIB_PRIVATE tyProc__gZv9cNjZk34ctaQVDPYTI5A secp256k1_nonce_function_rfc6979__6Xo6Tu0l3QI7HI9cIOTWDXQ;
N_LIB_PRIVATE tyProc__gZv9cNjZk34ctaQVDPYTI5A secp256k1_nonce_function_default__r19cYaf3lm0OPaDJEfdI9bQA;
extern TNimType* nimTypeRoot;
N_LIB_PRIVATE N_NIMCALL(void, secp256k1_secp256k1_abiDatInit000)(void) {
#line 999999 "generated_not_to_break_here"
static TNimNode TM__zcZsBMpzeVEAX5IvRTchQg_0[1];NTI__GYc9aFo1e2qOLdmAqUvIikQ_.size = sizeof(tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ);
NTI__GYc9aFo1e2qOLdmAqUvIikQ_.kind = 18;
NTI__GYc9aFo1e2qOLdmAqUvIikQ_.base = 0;
NTI__GYc9aFo1e2qOLdmAqUvIikQ_.flags = 3;
NTI__GYc9aFo1e2qOLdmAqUvIikQ_.name = "secp256k1_pubkey";
NTI__GYc9aFo1e2qOLdmAqUvIikQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__GYc9aFo1e2qOLdmAqUvIikQ_;
NTI__w5VB8h5K8DB3oWrO5U2wqg_.size = sizeof(tyArray__w5VB8h5K8DB3oWrO5U2wqg);
NTI__w5VB8h5K8DB3oWrO5U2wqg_.kind = 16;
NTI__w5VB8h5K8DB3oWrO5U2wqg_.base = (&NTI__k3HXouOuhqAKq0dx450lXQ_);
NTI__w5VB8h5K8DB3oWrO5U2wqg_.flags = 3;
NTI__w5VB8h5K8DB3oWrO5U2wqg_.name = "array[0..63, uint8]";
NTI__w5VB8h5K8DB3oWrO5U2wqg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__w5VB8h5K8DB3oWrO5U2wqg_;
TM__zcZsBMpzeVEAX5IvRTchQg_0[0].kind = 1;
TM__zcZsBMpzeVEAX5IvRTchQg_0[0].offset = offsetof(tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ, data);
TM__zcZsBMpzeVEAX5IvRTchQg_0[0].typ = (&NTI__w5VB8h5K8DB3oWrO5U2wqg_);
TM__zcZsBMpzeVEAX5IvRTchQg_0[0].name = "data";
NTI__GYc9aFo1e2qOLdmAqUvIikQ_.node = &TM__zcZsBMpzeVEAX5IvRTchQg_0[0];
}