This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efl.
View the commit online.
commit 171295f2f9713a3c50a7df52bb44a86192e15948
Author: Cedric BAIL <[email protected]>
AuthorDate: Sun Nov 15 12:24:00 2026 -0600
efl, ecore: Efl.hh includes Efl.h, and Ecore.hh includes Efl.hh first
Efl.hh defines EFL_PART_PROTECTED and then includes wrappers that call C
functions declared under it, but never included Efl.h itself. That
worked only for as long as every consumer happened to include a C
umbrella first.
Ecore.hh now includes Efl.hh ahead of Ecore.h, the way Evas.hh already
does: reaching Efl.h the other way round latches its include guard with
the macro undefined.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
src/bindings/cxx/ecore_cxx/Ecore.hh | 3 +++
src/lib/efl/Efl.hh | 5 +++++
2 files changed, 8 insertions(+)
diff --git a/src/bindings/cxx/ecore_cxx/Ecore.hh b/src/bindings/cxx/ecore_cxx/Ecore.hh
index aa83ab3b42..dbc5e3abd5 100644
--- a/src/bindings/cxx/ecore_cxx/Ecore.hh
+++ b/src/bindings/cxx/ecore_cxx/Ecore.hh
@@ -16,6 +16,9 @@
#ifndef _EFL_ECORE_CXX_ECORE_HH
#define _EFL_ECORE_CXX_ECORE_HH
+/* Efl.hh first: it defines EFL_PART_PROTECTED before Efl.h is reached. */
+#include <Efl.hh>
+
#include <Ecore.h>
#include <Eina.hh>
diff --git a/src/lib/efl/Efl.hh b/src/lib/efl/Efl.hh
index 19cfb37c60..ad3a0bf0f8 100644
--- a/src/lib/efl/Efl.hh
+++ b/src/lib/efl/Efl.hh
@@ -3,6 +3,11 @@
#define EFL_PART_PROTECTED
+/* Efl.h is needed by the wrappers below. */
+extern "C" {
+#include "Efl.h"
+}
+
#include "cxx/efl_part_impl.hh"
#include <Eo.hh>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.