Skip to content
Commit 2307c53e authored by Allison Karlitskaya's avatar Allison Karlitskaya
Browse files

Workaround gjs single-include issue

gjs features single-include guards for the headers in gjs/ with
gjs/gjs-module.h being the only header you are supposed to include.

Unfortunately, the headers in gi/ (which do not appear to have their own
master include file) individually include files from gjs/.

We can workaround the issue by first #include <gjs/gjs-module.h> which
will skip the single-include guard on the files the second time they get
included (from the headers in gi/).

https://bugzilla.gnome.org/show_bug.cgi?id=688617
parent 773c252f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment