<?php
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.0
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
// Try to load our extension if it's not already loaded.
if (!extension_loaded('debugasync')) {
if (strtolower(substr(PHP_OS, 0, 3)) === 'win') {
if (!dl('php_debugasync.dll')) return;
} else {
// PHP_SHLIB_SUFFIX gives 'dylib' on MacOS X but modules are 'so'.
if (PHP_SHLIB_SUFFIX === 'dylib') {
if (!dl('debugasync.so')) return;
} else {
if (!dl('debugasync.'.PHP_SHLIB_SUFFIX)) return;
}
}
}
/* PHP Proxy Classes */
class Client {
public $_cPtr=null;
protected $_pData=array();
function __set($var,$value) {
if ($var === 'thisown') return swig_debugasync_alter_newobject($this->_cPtr,$value);
$this->_pData[$var] = $value;
}
function __isset($var) {
if ($var === 'thisown') return true;
return array_key_exists($var, $this->_pData);
}
function __get($var) {
if ($var === 'thisown') return swig_debugasync_get_newobject($this->_cPtr);
return $this->_pData[$var];
}
public function invoke($callback) {
Client_invoke($this->_cPtr,$callback);
}
public function __construct($res=null) {
if (is_resource($res) && get_resource_type($res) === '_p_Client') {
$this->_cPtr=$res;
return;
}
$this->_cPtr=new_Client();
}
}
abstract class ProcedureCallback {
public $_cPtr=null;
protected $_pData=array();
function __set($var,$value) {
if ($var === 'thisown') return swig_debugasync_alter_newobject($this->_cPtr,$value);
$this->_pData[$var] = $value;
}
function __isset($var) {
if ($var === 'thisown') return true;
return array_key_exists($var, $this->_pData);
}
function __get($var) {
if ($var === 'thisown') return swig_debugasync_get_newobject($this->_cPtr);
return $this->_pData[$var];
}
public function callback($arg0) {
ProcedureCallback_callback($this->_cPtr,$arg0);
}
public function __construct($res=null) {
if (is_resource($res) && get_resource_type($res) === '_p_ProcedureCallback') {
$this->_cPtr=$res;
return;
}
if (get_class($this) === 'ProcedureCallback') {
$_this = null;
} else {
$_this = $this;
}
$this->_cPtr=new_ProcedureCallback($_this);
}
}
?>