Rename "struct Global" to "struct Global_" to avoid PHP keyword

This commit is contained in:
Olly Betts 2014-02-19 18:26:07 +13:00
commit ae14ad0c4a

View file

@ -6,7 +6,8 @@
%inline %{
namespace ns {
struct Global {
// "global" is a case-insensitive keyword in PHP.
struct Global_ {
#ifdef __clang__
struct Outer {
struct Nested;