/*Macro:*/ end_class(NAME,FLAGS)end_class() is a terminating mark for start_new_program(). It takes two arguments. The first one is the name by which the class defined between the start_new_program() and the end_class(), will be called. The second argument is a flag. The following example line of code results in a public class called 'MyClass'.
/*Example of usage:*/
end_class("MyClass",0);
The fact that start_new_program() is terminated by end_class() is a bit confusing. It is this way because the words
'program' and 'class' are used synonymously in Pike and for some
reason the two macros happened to be named this way.