Add visibility pragma to hiload library header.
Add hiload to minimal
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Allows using -fvisibility=hidden by default, decreasing visible symbols
|
||||
#pragma GCC visibility push(default)
|
||||
|
||||
// Return codes for reload_module
|
||||
typedef enum {
|
||||
HI_RELOAD_SUCCESS = 0,
|
||||
@@ -15,11 +18,17 @@ typedef enum {
|
||||
|
||||
/* Initialiez the module. Must be called before anything else */
|
||||
int hi_init();
|
||||
|
||||
/* Frees memory and cleans up */
|
||||
void hi_deinit();
|
||||
|
||||
/* Print a random assortment of information from current state */
|
||||
void hi_print_module_infos();
|
||||
|
||||
/* Reload module identified by the name */
|
||||
ReloadResult hi_reload_module(const char *module_name);
|
||||
|
||||
#pragma GCC visibility pop
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user