simplicity-sys 0.7.0

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_7_c_##jet(frameItem* dst, const frameItem* src, const txEnv* env) { \
  bool result = rustsimplicity_0_7_##jet(dst, *src, env); \
  rustsimplicity_0_7_assert(!result || 0 == dst->offset); \
  return result; \
}

#endif