init


Description:

[ Version ( since = "2.16" ) ]
public void init (ref string[] args, ...)

Example: Test, initialization:

public static int main (string[] args) {
// Use ./test --help to review our options
Test.init (ref args);

// Register test cases via Test.add_func & friends

Test.run ();
return 0;
}

valac --pkg glib-2.0 GLib.Test.init.vala


Namespace: GLib.Test
Package: glib-2.0