Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
MasterObject

Class MasterObject

Description

Master control program for Pike.

See also

master() , replace_master()


Inherit CompilationHandler

inherit CompilationHandler : CompilationHandler

Description

The master object acts as fallback compilation handler for compile() and cpp() .


Inherit Codec

inherit Codec : Codec

Description

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

inherit CompatResolver : CompatResolver


Inherit Codec

inherit Codec : Codec


Constant bt_max_string_len

constant MasterObject.bt_max_string_len

Description

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 out_of_date_warning

constant MasterObject.out_of_date_warning

Description

Should Pike complain about out of date compiled files. 1 means yes and 0 means no. Controlled by the OUT_OF_DATE_WARNING define.


Variable want_warnings

int MasterObject.want_warnings

Description

If not zero compilation warnings will be written out on stderr.


Variable compat_major

int MasterObject.compat_major


Variable compat_minor

int MasterObject.compat_minor


Variable show_if_constant_errors

int MasterObject.show_if_constant_errors


Inherit Pike_7_6_master

inherit Pike_7_6_master : Pike_7_6_master

Description

Namespaces for compat masters.

This inherit is used to provide compatibility namespaces for get_compat_master() .

See also

get_compat_master()


mapping(string:program|NoValue) MasterObject.programs
mapping(program:object) MasterObject.documentation
mapping(program:string) MasterObject.source_cache

Description

Mapping containing the cache of currently compiled files.

This mapping currently has the following structure:

filename : program

The filename path separator is / on both NT and UNIX.

Note

Special cases: The current master program is available under the name "/master", and the program containing the main function under "/main".


Variable include_prefix

string MasterObject.include_prefix

Description

Prefix for Pike-related C header files.


Variable doc_prefix

string MasterObject.doc_prefix

Description

Prefix for autodoc files.


Variable cflags

string MasterObject.cflags

Description

Flags suitable for use when compiling Pike C modules


Variable ldflags

string MasterObject.ldflags

Description

Flags suitable for use when linking Pike C modules


string MasterObject._pike_file_name
string MasterObject._master_file_name

Description

These are useful if you want to start other Pike processes with the same options as this one was started with.


Variable currentversion

Version MasterObject.currentversion

Description

Version information about the current Pike version.