GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  OOINITSTUBS (3)

NAME

Tcl_OOInitStubs - initialize library access to TclOO functionality

CONTENTS

Synopsis
Arguments
Description
Keywords

SYNOPSIS

#include <tclOO.h>

const char * Tcl_OOInitStubs(interp)

ARGUMENTS


.TP 15 Tcl_Interp *interp (in)
Tcl_Interp*interp Tcl_Interp The Tcl interpreter that the TclOO library is integrated with and whose C interface is going to be used.

   








\L’|0u-1v’\l’75u+3n_’\L’0u+1v-0u’\l’|0u-1.5n_’



\L’|0u-1v’\L’0u+1v-0u’\l’|0u-1.5n_’





DESCRIPTION

When an extension library is going to use the C interface exposed by TclOO, it should use Tcl_OOInitStubs to initialize its access to that interface from within its *_Init (or *_SafeInit) function, passing in the interp that was passed into that routine as context. If the result of calling Tcl_OOInitStubs is NULL, the initialization failed and an error message will have been left in the interpreter’s result. Otherwise, the initialization succeeded and the TclOO API may thereafter be used.

When using this function, either the C #define symbol USE_TCLOO_STUBS should be defined and your library code linked against the TclOO stub library, or that #define symbol should not be defined and your library code linked against the TclOO main library directly. The supplied configuration pre-supposes the former configuration, which is the only recommended configuration that will preserve forward compatibility with Tcl 8.6. It is strongly recommended that Tcl also be linked in stubbed mode if TclOO is.

KEYWORDS

stubs

Search for    or go to Top of page |  Section 3 |  Main Index


TclOO TCL_OOINITSTUBS (3) 1.0

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.