Next: end_class()
Up: The C API
Previous: set_exit_callback()
  Contents
The start_new_program() is a kind of starting mark that is set
first of all when defining a class in pike_module_init(). After this
come all definitions, settings and so on. It is called without any
arguments. Even though it is not entirely correct, Java and C++
programmers can think of start_new_program() as a 'class {'
statement.
/*Example of usage:*/
start_new_program();
2003-03-04