From 34df89cd0752c09e62f2a331a8351a58a8cb83cf Mon Sep 17 00:00:00 2001 From: Alexander Gabriel Date: Thu, 11 Oct 2018 17:54:01 +0200 Subject: [PATCH] Remove webObj and adjust Tests --- example.cxx | 5 ----- example.i | 5 ----- test_keywords.php | 11 +++++++---- 3 files changed, 7 insertions(+), 14 deletions(-) diff --git a/example.cxx b/example.cxx index 163dfda..b695b61 100644 --- a/example.cxx +++ b/example.cxx @@ -13,8 +13,3 @@ int my_mod(int n, int m) { } int empty = 11; - -class webObj { - public: - int empty = 5; -}; \ No newline at end of file diff --git a/example.i b/example.i index 79be2e4..cb1870f 100644 --- a/example.i +++ b/example.i @@ -10,8 +10,3 @@ extern int fact(int); extern int my_mod(int n, int m); extern int empty; - -class webObj { -public: - int empty; -}; diff --git a/test_keywords.php b/test_keywords.php index 2d04f59..a142dd7 100644 --- a/test_keywords.php +++ b/test_keywords.php @@ -171,9 +171,12 @@ class test_unset { $instance = new test_unset; echo $instance->unset; -dl("example"); -require_once("example.php"); +//dl("example"); +require_once("build/example.php"); -$example = new example(); +class test extends example { +} -echo $example->empty; +$empty = new test(); + +echo "\n\rContent of empty: ".$empty->empty_get();