From 62c2839568315aa28a64f1233f2a4a730710e62c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Tue, 22 Aug 2017 17:55:29 +0200 Subject: [PATCH] EVM-C: Fix evm_context empty struct --- include/evm.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/evm.h b/include/evm.h index 430bbe3..20f2648 100644 --- a/include/evm.h +++ b/include/evm.h @@ -41,7 +41,12 @@ enum { /// The Host MAY pass the pointer to the Host execution context to /// ::evm_execute_fn. The EVM MUST pass the same pointer back to the Host in /// every callback function. -struct evm_context {}; +struct evm_context { + + /// @todo Move evm_host here. We need it now, because structs cannot be + /// empty in C. + void* future_fn_table; +}; /// Big-endian 256-bit integer. ///