FS-10427: move libesl to use swig3.0 so we can reswig on debian9

This commit is contained in:
Mike Jerris
2017-06-27 12:10:04 -05:00
parent 2559bbe14d
commit 2db78891f5
33 changed files with 2168 additions and 1145 deletions
+12 -12
View File
@@ -2,7 +2,7 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.12
* Version 3.0.2
*
* 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
@@ -44,12 +44,6 @@ class ESLevent {
$this->_pData[$var] = $value;
}
function __isset($var) {
if (function_exists('ESLevent_'.$var.'_set')) return true;
if ($var === 'thisown') return true;
return array_key_exists($var, $this->_pData);
}
function __get($var) {
$func = 'ESLevent_'.$var.'_get';
if (function_exists($func)) return call_user_func($func,$this->_cPtr);
@@ -57,6 +51,12 @@ class ESLevent {
return $this->_pData[$var];
}
function __isset($var) {
if (function_exists('ESLevent_'.$var.'_get')) return true;
if ($var === 'thisown') return true;
return array_key_exists($var, $this->_pData);
}
function __construct($type_or_wrap_me_or_me,$subclass_name_or_free_me=null) {
if (is_resource($type_or_wrap_me_or_me) && get_resource_type($type_or_wrap_me_or_me) === '_p_ESLevent') {
$this->_cPtr=$type_or_wrap_me_or_me;
@@ -134,16 +134,16 @@ class ESLconnection {
$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_ESL_get_newobject($this->_cPtr);
return $this->_pData[$var];
}
function __isset($var) {
if ($var === 'thisown') return true;
return array_key_exists($var, $this->_pData);
}
function __construct($host_or_socket,$port=null,$user_or_password=null,$password=null) {
if (is_resource($host_or_socket) && get_resource_type($host_or_socket) === '_p_ESLconnection') {
$this->_cPtr=$host_or_socket;