Multi-file BPF C builds (#2393)

This commit is contained in:
Jak May
2019-01-11 15:33:21 -08:00
committed by GitHub
parent 79b334b7f1
commit 23c43ed21b
13 changed files with 129 additions and 38 deletions

View File

@@ -0,0 +1,10 @@
#include <solana_sdk.h>
static const char msg[] = "This is a message";
static const char msg2[] = "This is a different message";
extern bool entrypoint(const uint8_t *input) {
sol_log((char*)msg);
sol_log((char*)msg2);
return true;
}