a7894e2014-01-21Bill Welliver #pike __REAL_VERSION__ #if constant(GTK2) && constant(GTK2.WebkitWebView) //! @decl import GTK2 mixed `[](string what) { if (what == "_module_value") return UNDEFINED; if (has_prefix(what, "WEBKIT_")) return GTK2[what]; return GTK2["Webkit"+what]; } array _indices() { return glob( "Webkit_*", indices(GTK2) ) + map(glob( "Webkit*", indices(GTK2) ), predef::`[], sizeof("Webkit"), 0x7fffffff); } array _values() { return map(_indices(), `[]); } #else constant this_program_does_not_exist=1; #endif /* constant(GTK2.WebkitWebView) */