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();