pike.git / lib / modules / Stdio.pmod / Terminfo.pmod

version» Context lines:

pike.git/lib/modules/Stdio.pmod/Terminfo.pmod:1: - // $Id: Terminfo.pmod,v 1.30 2010/06/05 12:40:37 grubba Exp $ + // $Id: Terminfo.pmod,v 1.31 2010/06/22 12:15:24 nilsson Exp $   #pike __REAL_VERSION__         #if constant(thread_create)   #define LOCK object m_key = mutex->lock()   #define UNLOCK destruct(m_key)   #define MUTEX protected private object(Thread.Mutex) mutex = Thread.Mutex();   #else   #define LOCK   #define UNLOCK
pike.git/lib/modules/Stdio.pmod/Terminfo.pmod:768:       //! Create a new Meta @[TerminfoDB].    //!    //! @param dbs    //! Array with elements in priority order. Elements may be either    //! @mixed    //! @type TerminfoDB    //! An active @[TerminfoDB].    //! @type string    //! A directory that may exist and contain a terminfo database. -  //! @endarray +  //! @endmixed    //!    //! @returns    //! If the resulting set of @[TerminfoDB]'s is empty,    //! the object will be destructed.    protected void create(array(TerminfoDB|string)|void dbs)    {    if (!dbs) {    // Terminfo locations in priority order.    dbs = ({    // Local terminfo.