Example #1
0
function &NLNewType($typeid)
{
    $ptr = new $typeid();
    $ptr->_imp_type = $typeid;
    $ptr->_imp_addr = _NLAddressAquire();
    $ptr->_imp_cntref = 1;
    return $ptr;
}
Example #2
0
 function __construct()
 {
     $this->_imp_addr = _NLAddressAquire();
     $args = func_get_args();
     if (sizeof($args)) {
         $this->_imp_data = $args;
     } else {
         $this->_imp_data = array();
     }
 }
Example #3
0
 function __construct($location = 0, $length = 0)
 {
     $this->location = $location;
     $this->length = $length;
     $this->_imp_addr = _NLAddressAquire();
 }