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$ +       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:59:   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.    + #if constant(__builtin.SelectBackend)   constant SelectBackend = __builtin.SelectBackend; -  + #endif      constant DefaultBackend = __builtin.__backend;      constant gc_parameters = __builtin.gc_parameters;   constant implicit_gc_real_time = __builtin.implicit_gc_real_time;   constant count_memory = __builtin.count_memory; -  + constant identify_cycle = __builtin.identify_cycle;      constant get_runtime_info = __builtin.get_runtime_info;      // Type-checking: -  + constant soft_cast = predef::__soft_cast;   constant low_check_call = predef::__low_check_call;   constant get_return_type = predef::__get_return_type;   constant get_first_arg_type = predef::__get_first_arg_type; -  + constant get_type_attributes = predef::__get_type_attributes;    -  + // precompile.pike checks for this + #if constant(__builtin.__HAVE_CPP_PREFIX_SUPPORT__) + //! This constant exists and has the value 1 if cpp supports + //! the prefix feature. + //! @seealso + //! @[cpp()] + constant __HAVE_CPP_PREFIX_SUPPORT__ = __builtin.__HAVE_CPP_PREFIX_SUPPORT__; + #endif +    program Encoder = [program] master()->Encoder;   program Decoder = [program] master()->Decoder;   program Codec = [program] master()->Codec;      #if 0   protected constant TYPE = typeof(typeof([mixed]0));      TYPE check_call(TYPE fun_type, TYPE ... arg_types)   {    array(TYPE) conts = allocate(sizeof(arg_types) + 1);