Master control program for Pike.
master() , replace_master()
inherit CompilationHandler : CompilationHandler
The master object acts as fallback compilation handler for compile() and cpp() .
inherit Codec : Codec
The master object is used as a fallback codec by encode_value() and decode_value() if no codec was given.
It will also be used as a codec if decode_value() encounters old-style encode_value() 'ed data.
inherit CompatResolver : CompatResolver
constant MasterObject.bt_max_string_len
This constant contains the maximum length of a function entry in a backtrace. Defaults to 200 if no BT_MAX_STRING_LEN define has been given.
constant MasterObject.out_of_date_warning
Should Pike complain about out of date compiled files. 1 means yes and 0 means no. Controlled by the OUT_OF_DATE_WARNING define.
int MasterObject.want_warnings
If not zero compilation warnings will be written out on stderr.
int MasterObject.compat_major
int MasterObject.compat_minor
int MasterObject.show_if_constant_errors
inherit Pike_7_6_master : Pike_7_6_master
Namespaces for compat masters.
This inherit is used to provide compatibility namespaces for get_compat_master() .
get_compat_master()
mapping(string:program|NoValue) MasterObject.programs mapping(program:object) MasterObject.documentation mapping(program:string) MasterObject.source_cache
Mapping containing the cache of currently compiled files.
This mapping currently has the following structure:
The filename path separator is / on both NT and UNIX.
Special cases: The current master program is available under the name "/master", and the program containing the main function under "/main".
"/master"
"/main"
string MasterObject.include_prefix
Prefix for Pike-related C header files.
string MasterObject.doc_prefix
Prefix for autodoc files.
string MasterObject.cflags
Flags suitable for use when compiling Pike C modules
string MasterObject.ldflags
Flags suitable for use when linking Pike C modules
string MasterObject._pike_file_name string MasterObject._master_file_name
These are useful if you want to start other Pike processes with the same options as this one was started with.
Version MasterObject.currentversion
Version information about the current Pike version.