dwww Home | Show directory contents | Find package

exec("swigtest.start", -1);

ierr = execstr("StringsThrower_charstring()", 'errcatch');
checkequal(ierr, 20000, "wrong/no exception thrown")
if (strstr(lasterror(), "charstring message") == '')
  printf("Should have thrown an exception")
  exit(1)
end

ierr = execstr("StringsThrower_stdstring()", 'errcatch');
checkequal(ierr, 20000, "wrong/no exception thrown")
if (strstr(lasterror(), "stdstring message") == '')
  printf("Should have thrown an exception")
  exit(1)
end

exec("swigtest.quit", -1);

Generated by dwww version 1.15 on Tue Jul 2 00:41:25 CEST 2024.