コード例 #1
0
ファイル: NLBase.php プロジェクト: pombredanne/Inutero
function &NLNewType($typeid)
{
    $ptr = new $typeid();
    $ptr->_imp_type = $typeid;
    $ptr->_imp_addr = _NLAddressAquire();
    $ptr->_imp_cntref = 1;
    return $ptr;
}
コード例 #2
0
ファイル: NLMap.php プロジェクト: pombredanne/Inutero
 function __construct()
 {
     $this->_imp_addr = _NLAddressAquire();
     $args = func_get_args();
     if (sizeof($args)) {
         $this->_imp_data = $args;
     } else {
         $this->_imp_data = array();
     }
 }
コード例 #3
0
ファイル: NLRange.php プロジェクト: pombredanne/Inutero
 function __construct($location = 0, $length = 0)
 {
     $this->location = $location;
     $this->length = $length;
     $this->_imp_addr = _NLAddressAquire();
 }