SWIGTYPE && input typemaps now assume object has been moved
Replicated Java implementation. Fully implemented for: - C# - D - Guile - Javascript (UTL) - Lua - MzScheme - Octave (UTL) - Perl (UTL) - PHP - Python (UTL) - Ruby (UTL) - Tcl (UTL) PHP std::auto_ptr std::unique_ptr minor tweaks and testcase corrections
This commit is contained in:
parent
0634883089
commit
e139a36511
31 changed files with 931 additions and 46 deletions
|
|
@ -178,6 +178,11 @@ class check {
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
static function str_contains($a,$b,$message=null) {
|
||||
# Use strpos as PHP function str_contains requires PHP 8
|
||||
return check::equal(strpos($a,$b)!==false,true,$message);
|
||||
}
|
||||
|
||||
static function isnull($a,$message=null) {
|
||||
return check::equal($a,NULL,$message);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue