ext_lib_export.h 505 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (C) 2019 Intel Corporation. All rights reserved.
  3. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. */
  5. #ifndef _EXT_LIB_EXPORT_H_
  6. #define _EXT_LIB_EXPORT_H_
  7. #include "lib_export.h"
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. int
  12. get_ext_lib_export_apis(NativeSymbol **p_ext_lib_apis)
  13. {
  14. *p_ext_lib_apis = extended_native_symbol_defs;
  15. return sizeof(extended_native_symbol_defs) / sizeof(NativeSymbol);
  16. }
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20. #endif /* end of _EXT_LIB_EXPORT_H_ */