Spaces:
Build error
Build error
/* | |
* tclPlatDecls.h -- | |
* | |
* Declarations of platform specific Tcl APIs. | |
* | |
* Copyright (c) 1998-1999 by Scriptics Corporation. | |
* All rights reserved. | |
*/ | |
/* | |
* WARNING: This file is automatically generated by the tools/genStubs.tcl | |
* script. Any modifications to the function declarations below should be made | |
* in the generic/tcl.decls script. | |
*/ | |
/* | |
* TCHAR is needed here for win32, so if it is not defined yet do it here. | |
* This way, we don't need to include <tchar.h> just for one define. | |
*/ | |
typedef wchar_t TCHAR; | |
typedef char TCHAR; | |
/* !BEGIN!: Do not edit below this line. */ | |
extern "C" { | |
/* | |
* Exported function declarations: | |
*/ | |
/* 0 */ | |
EXTERN TCHAR * Tcl_WinUtfToTChar(const char *str, int len, | |
Tcl_DString *dsPtr); | |
/* 1 */ | |
EXTERN char * Tcl_WinTCharToUtf(const TCHAR *str, int len, | |
Tcl_DString *dsPtr); | |
/* 0 */ | |
EXTERN int Tcl_MacOSXOpenBundleResources(Tcl_Interp *interp, | |
const char *bundleName, int hasResourceFile, | |
int maxPathLen, char *libraryPath); | |
/* 1 */ | |
EXTERN int Tcl_MacOSXOpenVersionedBundleResources( | |
Tcl_Interp *interp, const char *bundleName, | |
const char *bundleVersion, | |
int hasResourceFile, int maxPathLen, | |
char *libraryPath); | |
/* 2 */ | |
EXTERN void TclUnusedStubEntry(void); | |
typedef struct TclPlatStubs { | |
int magic; | |
void *hooks; | |
TCHAR * (*tcl_WinUtfToTChar) (const char *str, int len, Tcl_DString *dsPtr); /* 0 */ | |
char * (*tcl_WinTCharToUtf) (const TCHAR *str, int len, Tcl_DString *dsPtr); /* 1 */ | |
int (*tcl_MacOSXOpenBundleResources) (Tcl_Interp *interp, const char *bundleName, int hasResourceFile, int maxPathLen, char *libraryPath); /* 0 */ | |
int (*tcl_MacOSXOpenVersionedBundleResources) (Tcl_Interp *interp, const char *bundleName, const char *bundleVersion, int hasResourceFile, int maxPathLen, char *libraryPath); /* 1 */ | |
void (*tclUnusedStubEntry) (void); /* 2 */ | |
} TclPlatStubs; | |
extern const TclPlatStubs *tclPlatStubsPtr; | |
} | |
/* | |
* Inline function declarations: | |
*/ | |
/* !END!: Do not edit above this line. */ | |