Languages

Menu
Sites
Language
Validation failure - Undocumented APIs is detected

Hi,

My application is getting rejected with error Undocumented APIs is detected.

eina_value_type_check[dehazez3]
eina_value_inner_alloc[dehazez3]
_EINA_VALUE_TYPE_BASICS_START[dehazez3]
eina_value_new[dehazez3]
eina_value_inner_free[dehazez3]
eina_array_grow[dehazez3]
_EINA_VALUE_TYPE_BASICS_END[dehazez3]
eina_value_copy[dehazez3]
eina_value_struct_member_find[dehazez3]

 

I am not using any of the APIs listed above directly in my code, but its getting added through one of the .h functions i use.

I have included #include <Elementary_GL_Helpers.h> in my code for GL related APIs.

#include <Elementary_GL_Helpers.h> -> <Elementary.h> -><Eina.h> -><eina_value.h>
<eina_value.h> contains "eina_value_type_check" which is Undefined Symbol.

Now can you please tell me how can i avoid this ?

I need <Elementary_GL_Helpers.h> in my code for GL related APIs.

Thanks for your help
Abhilash K

Responses

1 Replies
Jean Yang

Hi Abhilash,

   In fact, the file you point out should be Tizen platform file, it should have no problem. And the undefined Symbol you mentioned defined as below.

      static inline const Eina_Value_Type *eina_value_type_get(const Eina_Value *value) EINA_PURE EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT;

   There is a solution for your project. Create a new project with Tizen GLViewCube sample template, you can do this by Tizen IDE->File->New->Tizen Native Project, take Tizen IDE 2.3.1 for example, you can then choose Sample->MOBILE-2.3.1->Native UI App, then find the sample named GLViewCube from the sample list.

   This project already include <Elementary_GL_Helpers.h> and you can build it successfully.

   Then try to move your own project into this new project. You should can add your codes in parts by parts, then maybe the build problem will comes out again when you add in a certain part or a certain file, then you will shrink the scope which cause this build problem. You also may be can finish the moving without the build problem anymore if you are luck enough.

    Best wish!

Br

Jean