Add extern "C" block
This commit is contained in:
@ -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
|
||||
|
||||
/**@}*/
|
||||
|
Reference in New Issue
Block a user