blktemplate.h: Add warning against allocating blktemplate_t

This commit is contained in:
Luke Dashjr
2014-09-02 16:39:10 +00:00
parent 09921dee12
commit e86fe28fa0

View File

@@ -77,6 +77,7 @@ extern gbt_capabilities_t blktmpl_getcapability(const char *);
typedef gbt_capabilities_t blkmutations_t;
// WARNING: Do not allocate this (ABI is not guaranteed to remain fixed-size)
typedef struct {
uint32_t version;
unsigned char diffbits[4];