mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-11-23 07:10:19 +00:00
add export
Signed-off-by: 萌萌萌新 <yaoji2@huawei.com>
This commit is contained in:
parent
e6edca1118
commit
12cfa1da3e
@ -21,8 +21,8 @@
|
||||
#include <cstdint>
|
||||
|
||||
extern "C" {
|
||||
RetDataI32 FfiOHOSErrorManagerOn(char* onType, CErrorObserver observer);
|
||||
int FfiOHOSErrorManagerOff(char* offType, int observerId);
|
||||
FFI_EXPORT RetDataI32 FfiOHOSErrorManagerOn(char* onType, CErrorObserver observer);
|
||||
FFI_EXPORT int FfiOHOSErrorManagerOff(char* offType, int observerId);
|
||||
}
|
||||
|
||||
#endif
|
@ -14,8 +14,9 @@
|
||||
*/
|
||||
|
||||
#include <cstdint>
|
||||
#define FFI_EXPORT __attribute__((visibility("default")))
|
||||
|
||||
extern "C" {
|
||||
int FfiOHOSErrorManagerOn();
|
||||
int FfiOHOSErrorManagerOff();
|
||||
FFI_EXPORT int FfiOHOSErrorManagerOn();
|
||||
FFI_EXPORT int FfiOHOSErrorManagerOff();
|
||||
}
|
Loading…
Reference in New Issue
Block a user