Add extern "C" block
This commit is contained in:
parent
52e5fb7e0c
commit
4af7c82ef0
|
@ -3,6 +3,10 @@
|
|||
* @brief Solana C-based BPF program utility functions and types
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Numeric types
|
||||
*/
|
||||
|
@ -268,4 +272,8 @@ SOL_FN_PREFIX void sol_print_params(
|
|||
*/
|
||||
extern bool entrypoint(const uint8_t *input);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/**@}*/
|
||||
|
|
Loading…
Reference in New Issue