core-lightning/contrib/libhsmd_python/shims.c
Christian Decker 7f15f86718 libhsmd: First working build script for libhsmd-python
Changelog-Added: libhsmd: Added python bindings for `libhsmd`
2021-05-15 09:31:12 +09:30

10 lines
340 B
C

#include <stdlib.h>
#include <stdbool.h>
/* The following functions are for some reason referenced but not
* included in the library. We provide them with dummy implementations
* here. */
bool alignment_ok(void *p) { return true; }
void dev_disconnect_init(int fd) {}
void CCAN_CLEAR_MEMORY(void *p, size_t len) { wally_clear(p, len); }