Allocates a new Options object and initialises it with the default options. This function can be used to preserve long term ABI compatibility by giving the responsibility of allocation and deallocation to the Tox library.
Example: Create options
using ToxCore;
public static int main (string[] args) {
ErrOptionsNew err_options;
var options = new ToxCore.Options(out err_options);
assert(err_options == ErrOptionsNew.OK);
return 0;
}
A new Options object with default options or NULL on failure. |