simplicity-sys 0.6.2

FFI bindings to libsimplicity
Documentation
1
2
3
4
5
6
7
8
9
10
11
#ifndef WRAPPER_H
#define WRAPPER_H

#define WRAP_(jet) \
bool rustsimplicity_0_6_c_##jet(frameItem* dst, const frameItem* src, const txEnv* env) { \
  bool result = rustsimplicity_0_6_##jet(dst, *src, env); \
  rustsimplicity_0_6_assert(!result || 0 == dst->offset); \
  return result; \
}

#endif