eina_js: Fix documentation generation

Fix doxygen's documentation generation.
A bug in doxygen makes it fail with the _libv8_property_callback_info_test
We put a #ifndef EFL_DOXYGEN around it to avoid it being seen by doxygen.

Add a NOTE comment about this.

ref T3005


Test Plan: make doc must succeed

Reviewers: felipealmeida, stefan_schmidt

Projects: #efl

Differential Revision: https://phab.enlightenment.org/D3534
This commit is contained in:
Stefan Schmidt 2016-01-05 17:09:31 +01:00
parent b4eac7879e
commit 2fef60b718
1 changed files with 5 additions and 0 deletions

View File

@ -316,13 +316,17 @@ struct _libv8_callback_info_test
// NOTE: ifndef needed because a bug in doxygen makes it fail with this class
template <typename T = v8::ObjectTemplate, typename Enable = void>
struct _libv8_property_callback_info_test
: std::true_type {};
typedef v8::Handle<v8::Value>(*_libv8_getter_callback)(v8::Local<v8::String>, v8::AccessorInfo const&);
typedef void(*_libv8_setter_callback)(v8::Local<v8::String>, v8::Local<v8::Value>, v8::AccessorInfo const&);
template <typename T>
struct _libv8_property_callback_info_test
<T, typename std::enable_if
@ -339,6 +343,7 @@ struct _libv8_property_callback_info_test
: std::false_type
static constexpr bool const v8_uses_isolate = _libv8_isolate_test<>::value;
static constexpr bool const v8_uses_callback_info = _libv8_callback_info_test<>::value;