pike.git / lib / modules / Pike.pmod / module.pmod

version» Context lines:

pike.git/lib/modules/Pike.pmod/module.pmod:1:   #pike __REAL_VERSION__   #pragma strict_types      // Pike core things that don't belong anywhere else.   // - // $Id: module.pmod,v 1.21 2008/07/24 16:07:05 grubba Exp $ + // $Id: module.pmod,v 1.22 2008/09/19 15:10:09 mast Exp $      constant WEAK_INDICES = __builtin.PIKE_WEAK_INDICES;   constant WEAK_VALUES = __builtin.PIKE_WEAK_VALUES;   constant WEAK = WEAK_INDICES|WEAK_VALUES;   //! Flags for use together with @[set_weak_flag] and @[get_weak_flag].   //! See @[set_weak_flag] for details.      constant INDEX_FROM_BEG = __builtin.INDEX_FROM_BEG;   constant INDEX_FROM_END = __builtin.INDEX_FROM_END;   constant OPEN_BOUND = __builtin.OPEN_BOUND;
pike.git/lib/modules/Pike.pmod/module.pmod:46:   constant Backend = __builtin.DefaultBackendClass;      #if constant(__builtin.PollDeviceBackend)   constant PollDeviceBackend = __builtin.PollDeviceBackend;   #endif      #if constant(__builtin.PollBackend)   constant PollBackend = __builtin.PollBackend;   #endif    + #if constant(__builtin.PollBackend) + constant SmallBackend = __builtin.PollBackend; + #elif constant(__builtin.PollDeviceBackend) + constant SmallBackend = __builtin.PollDeviceBackend; + #else + constant SmallBackend = __builtin.SelectBackend; + #endif +  + //! @decl program(Pike.Backend) SmallBackend + //! + //! This is the most suitable backend implementation if you only want + //! to monitor a small number of @[Stdio.File] objects. +    constant SelectBackend = __builtin.SelectBackend;      constant DefaultBackend = __builtin.__backend;      constant gc_parameters = __builtin.gc_parameters;   constant count_memory = __builtin.count_memory;      constant get_runtime_info = __builtin.get_runtime_info;      // Type-checking: