mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-27 17:21:51 +00:00
add external
Signed-off-by: liuwei <liuwei742@huawei.com> Change-Id: I22dfb4f688f522a7e8fc0b69b3e1a6cb7724d140
This commit is contained in:
parent
b8c6523570
commit
8687a39cb7
10
bundle.json
10
bundle.json
@ -296,6 +296,16 @@
|
||||
],
|
||||
"header_base": "//foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "so",
|
||||
"name": "//foundation/graphic/graphic_2d/rosen/modules/glfw_render_context:libglfw_render_context",
|
||||
"header": {
|
||||
"header_files": [
|
||||
"export/glfw_render_context.h"
|
||||
],
|
||||
"header_base": "/foundation/graphic/graphic_2d/rosen/modules/glfw_render_context"
|
||||
}
|
||||
}
|
||||
],
|
||||
"test": [
|
||||
|
@ -39,6 +39,12 @@
|
||||
#include <mutex>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define RS_EXPORT __attribute__((dllexport))
|
||||
#else
|
||||
#define RS_EXPORT __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
namespace OHOS {
|
||||
/**
|
||||
* @ingroup SmartPointer
|
||||
@ -376,7 +382,7 @@ private:
|
||||
* @note All classes which intend to be managed by smart pointers should be
|
||||
* derived from RefBase.
|
||||
*/
|
||||
class RefBase {
|
||||
class RS_EXPORT RefBase {
|
||||
public:
|
||||
RefBase();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user