Branch: Tag:

2008-06-01

2008-06-01 14:41:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Some Autodoc mk II updates.
The documentation for the master object should now show up as predef::MasterObject.

Rev: lib/master.pike.in:1.431

6:   // Pike is distributed under GPL, LGPL and MPL. See the file COPYING   // for more information.   // - // $Id: master.pike.in,v 1.430 2008/05/30 22:26:56 nilsson Exp $ + // $Id: master.pike.in,v 1.431 2008/06/01 14:41:25 grubba Exp $      #pike __REAL_VERSION__   //#pragma strict_types
17:   #error "master.pike.in is corrupted."   #endif    + //! @appears predef::MasterObject + //! + //! Master control program for Pike. + //! + //! @seealso + //! @[predef::master()], @[predef::replace_master()] +    // --- Some configurable parameters      #define PIKE_AUTORELOAD
254:    object get_compat_master(int major, int minor);   }    + //! Pike 7.0 master compatibility interface. + //! + //! Most of the interface is implemented via mixin. + //! + //! @seealso + //! @[get_compat_master()], @[master()]   class Pike_7_0_master   {    inherit Pike_0_6_master;
468:    }   }    + //! Pike 7.2 master compatibility interface. + //! + //! Most of the interface is implemented via mixin. + //! + //! @seealso + //! @[get_compat_master()], @[master()]   static class Pike_7_2_master   {    inherit Pike_7_0_master;
514:    }   }    + //! Pike 7.4 master compatibility interface. + //! + //! Most of the interface is implemented via mixin. + //! + //! @seealso + //! @[get_compat_master()], @[master()]   static class Pike_7_4_master   {    inherit Pike_7_2_master;
532:    }   }    + //! Pike 7.6 master compatibility interface. + //! + //! Most of the interface is implemented via mixin. + //! + //! @seealso + //! @[get_compat_master()], @[master()]   static class Pike_7_6_master   {    inherit Pike_7_4_master;
550:    }   }    - // Namespaces for compat masters. + //! Namespaces for compat masters. + //! + //! This inherit is used to provide compatibility namespaces + //! for @[get_compat_master()]. + //! + //! @seealso + //! @[get_compat_master()]   static inherit Pike_7_6_master;      //! @appears error
5308:    }   }    + //! Return a master object compatible with the specified version of Pike. + //! + //! This function is used to implement the various compatibility versions + //! of @[master()]. + //! + //! @seealso + //! @[get_compat_handler()], @[master()]   local object get_compat_master(int major, int minor)   {    if ((major > 7) || ((major == 7) && (minor > 6))) return this;    if ((major == 7) && (minor > 4)) return Pike_7_6_master::this;    return Pike_7_6_master::get_compat_master(major, minor);   } -  +