Add extern "C" block

This commit is contained in:
Michael Vines 2018-10-29 20:12:04 -07:00
parent 52e5fb7e0c
commit 4af7c82ef0
1 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,10 @@
* @brief Solana C-based BPF program utility functions and types * @brief Solana C-based BPF program utility functions and types
*/ */
#ifdef __cplusplus
extern "C" {
#endif
/** /**
* Numeric types * Numeric types
*/ */
@ -268,4 +272,8 @@ SOL_FN_PREFIX void sol_print_params(
*/ */
extern bool entrypoint(const uint8_t *input); extern bool entrypoint(const uint8_t *input);
#ifdef __cplusplus
}
#endif
/**@}*/ /**@}*/