mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
libhsmd: First working build script for libhsmd-python
Changelog-Added: libhsmd: Added python bindings for `libhsmd`
This commit is contained in:
committed by
Rusty Russell
parent
214fdcc9d7
commit
7f15f86718
9
contrib/libhsmd_python/shims.c
Normal file
9
contrib/libhsmd_python/shims.c
Normal file
@@ -0,0 +1,9 @@
|
||||
#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); }
|
||||
Reference in New Issue
Block a user