tclLoadDyld.c File Reference

#include "tclInt.h"
#include <mach-o/dyld.h>
#include <mach-o/fat.h>
#include <mach-o/swap.h>
#include <mach-o/arch.h>
#include <libkern/OSByteOrder.h>
#include <mach/mach.h>
#include <stdbool.h>

Go to the source code of this file.

Data Structures

struct  Tcl_DyldModuleHandle
struct  Tcl_DyldLoadHandle

Defines

#define MODULE_SCOPE   extern
#define TCL_DYLD_USE_DLFCN   0
#define TCL_DYLD_USE_NSMODULE   1
#define TclLoadDbgMsg(m,...)

Functions

MODULE_SCOPE int TclpDlopen (Tcl_Interp *interp, Tcl_Obj *pathPtr, Tcl_LoadHandle *loadHandle, Tcl_FSUnloadFileProc **unloadProcPtr)
MODULE_SCOPE Tcl_PackageInitProc * TclpFindSymbol (Tcl_Interp *interp, Tcl_LoadHandle loadHandle, CONST char *symbol)
MODULE_SCOPE void TclpUnloadFile (Tcl_LoadHandle loadHandle)
int TclGuessPackageName (CONST char *fileName, Tcl_DString *bufPtr)


Define Documentation

#define MODULE_SCOPE   extern

Definition at line 21 of file tclLoadDyld.c.

#define TCL_DYLD_USE_DLFCN   0

Definition at line 31 of file tclLoadDyld.c.

Referenced by TclpDlopen().

#define TCL_DYLD_USE_NSMODULE   1

Definition at line 39 of file tclLoadDyld.c.

Referenced by TclpDlopen().

#define TclLoadDbgMsg ( m,
...   ) 

Definition at line 94 of file tclLoadDyld.c.

Referenced by TclpDlopen(), TclpFindSymbol(), and TclpUnloadFile().


Function Documentation

int TclGuessPackageName ( CONST char *  fileName,
Tcl_DString bufPtr 
)

Definition at line 530 of file tclLoadDyld.c.

MODULE_SCOPE void TclpUnloadFile ( Tcl_LoadHandle  loadHandle  ) 



Generated on Wed Mar 12 12:18:37 2008 by  doxygen 1.5.1