pike.git / lib / modules / GDK.pmod

version» Context lines:

pike.git/lib/modules/GDK.pmod:1:   #pike __REAL_VERSION__    + #if constant(GTK) +    #define INDEX(x) GTK[x]      object Atom = class   {    mapping atoms = ([]);       class fake_atom    {    object ra;    string n;
pike.git/lib/modules/GDK.pmod:39:    if(what == "Atom") return Atom;    if(!zero_type(INDEX("Gdk"+what)))    return INDEX("Gdk"+what);    if(!zero_type(INDEX("GDK_"+what)))    return INDEX("GDK_"+what);    if(!zero_type(INDEX("GDK_"+upper_case(GTK->unsillycaps(what)))))    return INDEX("GDK_"+upper_case(GTK->unsillycaps(what)));    return ([])[0];   // return GDKSupport[what];   } +  + #else /* !constant(GTK) */ +  + static void create() + { +  /* Destroy ourselves. */ +  destruct(); + } +  + #endif /* constant(GTK) */