Objective-Everything Release 5.  Copyright ©1994-1998 by TipTop Software, Inc.  All Rights Reserved.

Runtime Configuration

Runtime configuration is controlled by a bunch of C global variables.

General

Name Default Description
RegisterAllIds YES keep track of all objects that are allocated
Warn YES warn when something suspicious happens; e.g., incompatible pointer assignment
ClassRedefineOk YES ok to redefine classes
ProtocolRedefineOk NO ok to redefine protocols
CheckMethodDescription YES check method signature in the ancestor classes when method is defined
RuntimeTypeCheck NO runtime type checking
BadObjectCheck YES check object validity whenever object is accessed
Trace NO message tracing
LeakWarn NO warn when a possible memory leak is created
MethodVarargsOk YES messages can take variable number of arguments
ForgetObjCOk NO ok to forget a method if it is implemented in ObjC
SelectorAutoCollect NO automatically collect selector names
MaxRecursion 100 maximum recursion depth
SaveHistory YES save command history in ~/.lang_history
MaxHistory 100 maximum history size to save
TrustVarargFunctions NO TTCDatum should blindly forward invocations to the corresponding C function implementations even when the number of arguments cannot be ascertained

Python

To access a config variable you do:  ObjPy.Config.name

Name Default Description
Py_DirectInvoke YES directly invoke python-implemented methods, instead of dispatching through ObjC
Py_CoerceArgs YES coerce arguments and return value when directly invoking
Py_OldCFun NO use old (version 3/4) compatibility CFuns
Py_SelectorMap YES use selector mapping subsystem to map method names into ObjC selector names

Tcl

To access a config variable you do:  objtcl::config name

Name Default Description
Tcl_DirectInvoke YES directly invoke tcl-implemented methods, instead of dispatching through ObjC
Tcl_CoerceArgs YES coerce arguments and return value when directly invoking
Tcl_AutoConvert YES autoconvert
Tcl_FlattenPtr NO allow flat pointers to be used (back-compatibility)
Tcl_CNamespace YES use C namespace
Tcl_GlobalC YES C namespace symbols are directly accessible in the global namespace
Tcl_AutoConvertCroak NO croak on ambiguous autoconversion; o/w just warn

Perl

To access a config variable you do:  $ObjPerl::CONFIG{'name'}

Name Default Description
Perl_DirectInvoke YES directly invoke perl-implemented methods, instead of dispatching through ObjC
Perl_CoerceArgs YES coerce arguments and return value when directly invoking
Perl_AutoConvert YES autoconvert
Perl_FlattenPtr NO allow flat pointers to be used (back-compatibility)
Perl_SelectorMap NO use selector mapping subsystem to map method names into ObjC selector names
Perl_PerlifyFoundation YES -
Perl_PerlifyHash YES -
Perl_PerlifyXVar NO -
Perl_NilReturnNil YES -

[previous][contents][next]