Assert that the expression is true.
If it is not, expect the system to halt
This macro was designed so that if it is redefined to ignore assertions, there will be no performance penalty. (and no checking)
suif_assert( value == 0 );
Assert that the expression is true.
If it is not, print a message
This macro was designed so that if it is redefined to ignore assertions, there will be no performance penalty. (and no checking)
suif_assert_message( value == 0, ("Value(%d) != 0\n", value))
Assert that the expression is true.
If it is not, print a message that contains information about a relevant object
This macro was designed so that if it is redefined to ignore assertions, there will be no performance penalty. (and no checking)
suif_assert_on_object( value == 0, suif_obj );
Assert that the expression is true.
If it is not, print a message that contains information about a relevant object and some other user-defined code.
This macro was designed so that if it is redefined to ignore assertions, there will be no performance penalty. (and no checking)
suif_assert_message_on_object( value == 0, ( suif_obj, "message %s", str) );
An error has occurred.
print a message, possibly about a suifobject that it occurred on Expect that the system may stop.
suif_error("error message %s", str) suif_error(suif_env, "error message %s", str) suif_error(suif_obj, "error message %s", str)
An unexpected event has occurred that can be dealt with in a safe way print a message about it to warn the user that there is a problem but processing can continue.
suif_warning("warning message %s", str) suif_warning(suif_env, "warning message %s", str) suif_warning(suif_obj, "warning message %s", str)
Print information pertaining to a given SuifObject or environment.
suif_information("info message %s", str) suif_information(suif_env, "info message %s", str) suif_information(suif_obj, "info message %s", str)
written by Dimitri van Heesch, © 1997-1999