#ifdef _TK
#ifndef LangEventCallback
VFUNC(int,LangEventCallback,V_LangEventCallback,_ANSI_ARGS_((ClientData, Tcl_Interp *,XEvent *,Tk_Window,KeySym)))
#endif

#ifndef LangFindVar
VFUNC(Var,LangFindVar,V_LangFindVar,_ANSI_ARGS_((Tcl_Interp * interp, Tk_Window, char *name)))
#endif

#ifndef LangFontArg
VFUNC(Arg,LangFontArg,V_LangFontArg,_ANSI_ARGS_((Tcl_Interp *interp, Tk_Font font, char *name)))
#endif

#ifndef LangObjectArg
VFUNC(Arg,LangObjectArg,V_LangObjectArg,_ANSI_ARGS_((Tcl_Interp *interp, char *)))
#endif

#ifndef LangWidgetArg
VFUNC(Arg,LangWidgetArg,V_LangWidgetArg,_ANSI_ARGS_((Tcl_Interp *interp, Tk_Window)))
#endif

#ifndef Lang_CreateImage
VFUNC(Tcl_Command,Lang_CreateImage,V_Lang_CreateImage,_ANSI_ARGS_((Tcl_Interp *interp,
			    char *cmdName, Tcl_CmdProc *proc,
			    ClientData clientData,
			    Tcl_CmdDeleteProc *deleteProc,
			    Tk_ImageType *typePtr)))
#endif

#ifndef Lang_CreateWidget
VFUNC(Tcl_Command,Lang_CreateWidget,V_Lang_CreateWidget,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window, Tcl_CmdProc *proc,
			    ClientData clientData,
			    Tcl_CmdDeleteProc *deleteProc)))
#endif

#ifndef Lang_DeleteWidget
VFUNC(void,Lang_DeleteWidget,V_Lang_DeleteWidget,_ANSI_ARGS_((Tcl_Interp *interp, Tcl_Command cmd)))
#endif

#ifndef Tk_3DBorderColor
VFUNC(XColor *,Tk_3DBorderColor,V_Tk_3DBorderColor,_ANSI_ARGS_((Tk_3DBorder border)))
#endif

#ifndef Tk_3DBorderGC
VFUNC(GC,Tk_3DBorderGC,V_Tk_3DBorderGC,_ANSI_ARGS_((Tk_Window tkwin,
			    Tk_3DBorder border, int which)))
#endif

#ifndef Tk_3DHorizontalBevel
VFUNC(void,Tk_3DHorizontalBevel,V_Tk_3DHorizontalBevel,_ANSI_ARGS_((Tk_Window tkwin,
			    Drawable drawable, Tk_3DBorder border, int x,
			    int y, int width, int height, int leftIn,
			    int rightIn, int topBevel, int relief)))
#endif

#ifndef Tk_3DVerticalBevel
VFUNC(void,Tk_3DVerticalBevel,V_Tk_3DVerticalBevel,_ANSI_ARGS_((Tk_Window tkwin,
			    Drawable drawable, Tk_3DBorder border, int x,
			    int y, int width, int height, int leftBevel,
			    int relief)))
#endif

#ifndef Tk_BindEvent
VFUNC(void,Tk_BindEvent,V_Tk_BindEvent,_ANSI_ARGS_((Tk_BindingTable bindingTable,
			    XEvent *eventPtr, Tk_Window tkwin, int numObjects,
			    ClientData *objectPtr)))
#endif

#ifndef Tk_ChangeScreen
VFUNC(void,Tk_ChangeScreen,V_Tk_ChangeScreen,_ANSI_ARGS_((Tcl_Interp *interp,
			    char *dispName, int screenIndex)))
#endif

#ifndef Tk_ChangeWindowAttributes
VFUNC(void,Tk_ChangeWindowAttributes,V_Tk_ChangeWindowAttributes,_ANSI_ARGS_((Tk_Window tkwin,
			    unsigned long valueMask,
			    XSetWindowAttributes *attsPtr)))
#endif

#ifndef Tk_CharBbox
VFUNC(int,Tk_CharBbox,V_Tk_CharBbox,_ANSI_ARGS_((Tk_TextLayout layout,
			    int index, int *xPtr, int *yPtr, int *widthPtr,
			    int *heightPtr)))
#endif

#ifndef Tk_ClearSelection
VFUNC(void,Tk_ClearSelection,V_Tk_ClearSelection,_ANSI_ARGS_((Tk_Window tkwin,
			    Atom selection)))
#endif

#ifndef Tk_ClipboardAppend
VFUNC(int,Tk_ClipboardAppend,V_Tk_ClipboardAppend,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, Atom target, Atom format,
			    char* buffer)))
#endif

#ifndef Tk_ClipboardClear
VFUNC(int,Tk_ClipboardClear,V_Tk_ClipboardClear,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin)))
#endif

#ifndef Tk_ComputeTextLayout
VFUNC(Tk_TextLayout,Tk_ComputeTextLayout,V_Tk_ComputeTextLayout,_ANSI_ARGS_((Tk_Font font,
			    CONST char *string, int numChars, int wrapLength,
			    Tk_Justify justify, int flags, int *widthPtr,
			    int *heightPtr)))
#endif

#ifndef Tk_ConfigureInfo
VFUNC(int,Tk_ConfigureInfo,V_Tk_ConfigureInfo,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, Tk_ConfigSpec *specs,
			    char *widgRec, char *argvName, int flags)))
#endif

#ifndef Tk_ConfigureValue
VFUNC(int,Tk_ConfigureValue,V_Tk_ConfigureValue,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, Tk_ConfigSpec *specs,
			    char *widgRec, char *argvName, int flags)))
#endif

#ifndef Tk_ConfigureWidget
VFUNC(int,Tk_ConfigureWidget,V_Tk_ConfigureWidget,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, Tk_ConfigSpec *specs,
			    int argc, Arg *args, char *widgRec,
			    int flags)))
#endif

#ifndef Tk_ConfigureWindow
VFUNC(void,Tk_ConfigureWindow,V_Tk_ConfigureWindow,_ANSI_ARGS_((Tk_Window tkwin,
			    unsigned int valueMask, XWindowChanges *valuePtr)))
#endif

#ifndef Tk_CoordsToWindow
VFUNC(Tk_Window,Tk_CoordsToWindow,V_Tk_CoordsToWindow,_ANSI_ARGS_((int rootX, int rootY,
			    Tk_Window tkwin)))
#endif

#ifndef Tk_CreateBinding
VFUNC(unsigned long,Tk_CreateBinding,V_Tk_CreateBinding,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_BindingTable bindingTable, ClientData object,
			    char *eventString, Arg command, int append)))
#endif

#ifndef Tk_CreateBindingTable
VFUNC(Tk_BindingTable,Tk_CreateBindingTable,V_Tk_CreateBindingTable,_ANSI_ARGS_((Tcl_Interp *interp)))
#endif

#ifndef Tk_CreateErrorHandler
VFUNC(Tk_ErrorHandler,Tk_CreateErrorHandler,V_Tk_CreateErrorHandler,_ANSI_ARGS_((Display *display,
			    int errNum, int request, int minorCode,
			    Tk_ErrorProc *errorProc, ClientData clientData)))
#endif

#ifndef Tk_CreateEventHandler
VFUNC(void,Tk_CreateEventHandler,V_Tk_CreateEventHandler,_ANSI_ARGS_((Tk_Window token,
			    unsigned long mask, Tk_EventProc *proc,
			    ClientData clientData)))
#endif

#ifndef Tk_CreateGenericHandler
VFUNC(void,Tk_CreateGenericHandler,V_Tk_CreateGenericHandler,_ANSI_ARGS_((
			    Tk_GenericProc *proc, ClientData clientData)))
#endif

#ifndef Tk_CreateImageType
VFUNC(void,Tk_CreateImageType,V_Tk_CreateImageType,_ANSI_ARGS_((
			    Tk_ImageType *typePtr)))
#endif

#ifndef Tk_CreateSelHandler
VFUNC(void,Tk_CreateSelHandler,V_Tk_CreateSelHandler,_ANSI_ARGS_((Tk_Window tkwin,
			    Atom selection, Atom target,
			    Tk_SelectionProc *proc, ClientData clientData,
			    Atom format)))
#endif

#ifndef Tk_CreateWindow
VFUNC(Tk_Window,Tk_CreateWindow,V_Tk_CreateWindow,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window parent, char *name, char *screenName)))
#endif

#ifndef Tk_CreateWindowFromPath
VFUNC(Tk_Window,Tk_CreateWindowFromPath,V_Tk_CreateWindowFromPath,_ANSI_ARGS_((
			    Tcl_Interp *interp, Tk_Window tkwin,
			    char *pathName, char *screenName)))
#endif

#ifndef Tk_CreateXSelHandler
VFUNC(void,Tk_CreateXSelHandler,V_Tk_CreateXSelHandler,_ANSI_ARGS_((Tk_Window tkwin,
			    Atom selection, Atom target,
			    Tk_XSelectionProc *proc, ClientData clientData,
			    Atom format)))
#endif

#ifndef Tk_DefineBitmap
VFUNC(int,Tk_DefineBitmap,V_Tk_DefineBitmap,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Uid name, char *source, int width,
			    int height)))
#endif

#ifndef Tk_DefineCursor
VFUNC(void,Tk_DefineCursor,V_Tk_DefineCursor,_ANSI_ARGS_((Tk_Window window,
			    Tk_Cursor cursor)))
#endif

#ifndef Tk_DeleteAllBindings
VFUNC(void,Tk_DeleteAllBindings,V_Tk_DeleteAllBindings,_ANSI_ARGS_((
			    Tk_BindingTable bindingTable, ClientData object)))
#endif

#ifndef Tk_DeleteBinding
VFUNC(int,Tk_DeleteBinding,V_Tk_DeleteBinding,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_BindingTable bindingTable, ClientData object,
			    char *eventString)))
#endif

#ifndef Tk_DeleteBindingTable
VFUNC(void,Tk_DeleteBindingTable,V_Tk_DeleteBindingTable,_ANSI_ARGS_((
			    Tk_BindingTable bindingTable)))
#endif

#ifndef Tk_DeleteErrorHandler
VFUNC(void,Tk_DeleteErrorHandler,V_Tk_DeleteErrorHandler,_ANSI_ARGS_((
			    Tk_ErrorHandler handler)))
#endif

#ifndef Tk_DeleteEventHandler
VFUNC(void,Tk_DeleteEventHandler,V_Tk_DeleteEventHandler,_ANSI_ARGS_((Tk_Window token,
			    unsigned long mask, Tk_EventProc *proc,
			    ClientData clientData)))
#endif

#ifndef Tk_DeleteGenericHandler
VFUNC(void,Tk_DeleteGenericHandler,V_Tk_DeleteGenericHandler,_ANSI_ARGS_((
			    Tk_GenericProc *proc, ClientData clientData)))
#endif

#ifndef Tk_DeleteImage
VFUNC(void,Tk_DeleteImage,V_Tk_DeleteImage,_ANSI_ARGS_((Tcl_Interp *interp,
			    char *name)))
#endif

#ifndef Tk_DeleteSelHandler
VFUNC(void,Tk_DeleteSelHandler,V_Tk_DeleteSelHandler,_ANSI_ARGS_((Tk_Window tkwin,
			    Atom selection, Atom target)))
#endif

#ifndef Tk_DestroyWindow
VFUNC(void,Tk_DestroyWindow,V_Tk_DestroyWindow,_ANSI_ARGS_((Tk_Window tkwin)))
#endif

#ifndef Tk_DisplayName
VFUNC(char *,Tk_DisplayName,V_Tk_DisplayName,_ANSI_ARGS_((Tk_Window tkwin)))
#endif

#ifndef Tk_DistanceToTextLayout
VFUNC(int,Tk_DistanceToTextLayout,V_Tk_DistanceToTextLayout,_ANSI_ARGS_((
			    Tk_TextLayout layout, int x, int y)))
#endif

#ifndef Tk_Draw3DPolygon
VFUNC(void,Tk_Draw3DPolygon,V_Tk_Draw3DPolygon,_ANSI_ARGS_((Tk_Window tkwin,
			    Drawable drawable, Tk_3DBorder border,
			    XPoint *pointPtr, int numPoints, int borderWidth,
			    int leftRelief)))
#endif

#ifndef Tk_Draw3DRectangle
VFUNC(void,Tk_Draw3DRectangle,V_Tk_Draw3DRectangle,_ANSI_ARGS_((Tk_Window tkwin,
			    Drawable drawable, Tk_3DBorder border, int x,
			    int y, int width, int height, int borderWidth,
			    int relief)))
#endif

#ifndef Tk_DrawChars
VFUNC(void,Tk_DrawChars,V_Tk_DrawChars,_ANSI_ARGS_((Display *display,
			    Drawable drawable, GC gc, Tk_Font tkfont,
			    CONST char *source, int numChars, int x,
			    int y)))
#endif

#ifndef Tk_DrawFocusHighlight
VFUNC(void,Tk_DrawFocusHighlight,V_Tk_DrawFocusHighlight,_ANSI_ARGS_((Tk_Window tkwin,
			    GC gc, int width, Drawable drawable)))
#endif

#ifndef Tk_DrawTextLayout
VFUNC(void,Tk_DrawTextLayout,V_Tk_DrawTextLayout,_ANSI_ARGS_((Display *display,
			    Drawable drawable, GC gc, Tk_TextLayout layout,
			    int x, int y, int firstChar, int lastChar)))
#endif

#ifndef Tk_EventCmd
VFUNC(int,Tk_EventCmd,V_Tk_EventCmd,_ANSI_ARGS_((ClientData clientData,
			    Tcl_Interp *interp, int argc, Arg *args)))
#endif

#ifndef Tk_EventInfo
VFUNC(char *,Tk_EventInfo,V_Tk_EventInfo,_ANSI_ARGS_((int letter, Tk_Window tkwin, XEvent *eventPtr, 
			    KeySym keySym, int *numPtr, int *isNum, int *type, 
                            int num_size, char *numStorage)))
#endif

#ifndef Tk_EventWindow
VFUNC(Tk_Window,Tk_EventWindow,V_Tk_EventWindow,_ANSI_ARGS_((XEvent *eventPtr)))
#endif

#ifndef Tk_Fill3DPolygon
VFUNC(void,Tk_Fill3DPolygon,V_Tk_Fill3DPolygon,_ANSI_ARGS_((Tk_Window tkwin,
			    Drawable drawable, Tk_3DBorder border,
			    XPoint *pointPtr, int numPoints, int borderWidth,
			    int leftRelief)))
#endif

#ifndef Tk_Fill3DRectangle
VFUNC(void,Tk_Fill3DRectangle,V_Tk_Fill3DRectangle,_ANSI_ARGS_((Tk_Window tkwin,
			    Drawable drawable, Tk_3DBorder border, int x,
			    int y, int width, int height, int borderWidth,
			    int relief)))
#endif

#ifndef Tk_FontId
VFUNC(Font,Tk_FontId,V_Tk_FontId,_ANSI_ARGS_((Tk_Font font)))
#endif

#ifndef Tk_FontObjCmd
VFUNC(int,Tk_FontObjCmd,V_Tk_FontObjCmd,_ANSI_ARGS_((ClientData clientData,
			    Tcl_Interp *interp, int objc,
			    Tcl_Obj *CONST objv[])))
#endif

#ifndef Tk_Free3DBorder
VFUNC(void,Tk_Free3DBorder,V_Tk_Free3DBorder,_ANSI_ARGS_((Tk_3DBorder border)))
#endif

#ifndef Tk_FreeBitmap
VFUNC(void,Tk_FreeBitmap,V_Tk_FreeBitmap,_ANSI_ARGS_((Display *display,
			    Pixmap bitmap)))
#endif

#ifndef Tk_FreeColor
VFUNC(void,Tk_FreeColor,V_Tk_FreeColor,_ANSI_ARGS_((XColor *colorPtr)))
#endif

#ifndef Tk_FreeColormap
VFUNC(void,Tk_FreeColormap,V_Tk_FreeColormap,_ANSI_ARGS_((Display *display,
			    Colormap colormap)))
#endif

#ifndef Tk_FreeCursor
VFUNC(void,Tk_FreeCursor,V_Tk_FreeCursor,_ANSI_ARGS_((Display *display,
			    Tk_Cursor cursor)))
#endif

#ifndef Tk_FreeFont
VFUNC(void,Tk_FreeFont,V_Tk_FreeFont,_ANSI_ARGS_((Tk_Font)))
#endif

#ifndef Tk_FreeGC
VFUNC(void,Tk_FreeGC,V_Tk_FreeGC,_ANSI_ARGS_((Display *display, GC gc)))
#endif

#ifndef Tk_FreeImage
VFUNC(void,Tk_FreeImage,V_Tk_FreeImage,_ANSI_ARGS_((Tk_Image image)))
#endif

#ifndef Tk_FreeOptions
VFUNC(void,Tk_FreeOptions,V_Tk_FreeOptions,_ANSI_ARGS_((Tk_ConfigSpec *specs,
			    char *widgRec, Display *display, int needFlags)))
#endif

#ifndef Tk_FreePixmap
VFUNC(void,Tk_FreePixmap,V_Tk_FreePixmap,_ANSI_ARGS_((Display *display,
			    Pixmap pixmap)))
#endif

#ifndef Tk_FreeTextLayout
VFUNC(void,Tk_FreeTextLayout,V_Tk_FreeTextLayout,_ANSI_ARGS_((
			    Tk_TextLayout textLayout)))
#endif

#ifndef Tk_FreeXId
VFUNC(void,Tk_FreeXId,V_Tk_FreeXId,_ANSI_ARGS_((Display *display, XID xid)))
#endif

#ifndef Tk_GCForColor
VFUNC(GC,Tk_GCForColor,V_Tk_GCForColor,_ANSI_ARGS_((XColor *colorPtr,
			    Drawable drawable)))
#endif

#ifndef Tk_GeometryRequest
VFUNC(void,Tk_GeometryRequest,V_Tk_GeometryRequest,_ANSI_ARGS_((Tk_Window tkwin,
			    int reqWidth,  int reqHeight)))
#endif

#ifndef Tk_Get3DBorder
VFUNC(Tk_3DBorder,Tk_Get3DBorder,V_Tk_Get3DBorder,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, Tk_Uid colorName)))
#endif

#ifndef Tk_GetAllBindings
VFUNC(void,Tk_GetAllBindings,V_Tk_GetAllBindings,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_BindingTable bindingTable, ClientData object)))
#endif

#ifndef Tk_GetAnchor
VFUNC(int,Tk_GetAnchor,V_Tk_GetAnchor,_ANSI_ARGS_((Tcl_Interp *interp,
			    char *string, Tk_Anchor *anchorPtr)))
#endif

#ifndef Tk_GetAtomName
VFUNC(char *,Tk_GetAtomName,V_Tk_GetAtomName,_ANSI_ARGS_((Tk_Window tkwin,
			    Atom atom)))
#endif

#ifndef Tk_GetBinding
VFUNC(Arg,Tk_GetBinding,V_Tk_GetBinding,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_BindingTable bindingTable, ClientData object,
			    char *eventString)))
#endif

#ifndef Tk_GetBitmap
VFUNC(Pixmap,Tk_GetBitmap,V_Tk_GetBitmap,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, Tk_Uid string)))
#endif

#ifndef Tk_GetBitmapFromData
VFUNC(Pixmap,Tk_GetBitmapFromData,V_Tk_GetBitmapFromData,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, char *source,
			    int width, int height)))
#endif

#ifndef Tk_GetCapStyle
VFUNC(int,Tk_GetCapStyle,V_Tk_GetCapStyle,_ANSI_ARGS_((Tcl_Interp *interp,
			    char *string, int *capPtr)))
#endif

#ifndef Tk_GetColor
VFUNC(XColor *,Tk_GetColor,V_Tk_GetColor,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, Tk_Uid name)))
#endif

#ifndef Tk_GetColorByValue
VFUNC(XColor *,Tk_GetColorByValue,V_Tk_GetColorByValue,_ANSI_ARGS_((Tk_Window tkwin,
			    XColor *colorPtr)))
#endif

#ifndef Tk_GetColormap
VFUNC(Colormap,Tk_GetColormap,V_Tk_GetColormap,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, char *string)))
#endif

#ifndef Tk_GetCursor
VFUNC(Tk_Cursor,Tk_GetCursor,V_Tk_GetCursor,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, Arg arg)))
#endif

#ifndef Tk_GetCursorFromData
VFUNC(Tk_Cursor,Tk_GetCursorFromData,V_Tk_GetCursorFromData,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, char *source, char *mask,
			    int width, int height, int xHot, int yHot,
			    Tk_Uid fg, Tk_Uid bg)))
#endif

#ifndef Tk_GetFont
VFUNC(Tk_Font,Tk_GetFont,V_Tk_GetFont,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, CONST char *string)))
#endif

#ifndef Tk_GetFontFromObj
VFUNC(Tk_Font,Tk_GetFontFromObj,V_Tk_GetFontFromObj,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, Tcl_Obj *objPtr)))
#endif

#ifndef Tk_GetFontMetrics
VFUNC(void,Tk_GetFontMetrics,V_Tk_GetFontMetrics,_ANSI_ARGS_((Tk_Font font,
			    Tk_FontMetrics *fmPtr)))
#endif

#ifndef Tk_GetGC
VFUNC(GC,Tk_GetGC,V_Tk_GetGC,_ANSI_ARGS_((Tk_Window tkwin,
			    unsigned long valueMask, XGCValues *valuePtr)))
#endif

#ifndef Tk_GetImage
VFUNC(Tk_Image,Tk_GetImage,V_Tk_GetImage,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, char *name,
			    Tk_ImageChangedProc *changeProc,
			    ClientData clientData)))
#endif

#ifndef Tk_GetImageMasterData
VFUNC(ClientData,Tk_GetImageMasterData,V_Tk_GetImageMasterData,_ANSI_ARGS_((Tcl_Interp *interp,
			    char *name, Tk_ImageType **typePtrPtr)))
#endif

#ifndef Tk_GetJoinStyle
VFUNC(int,Tk_GetJoinStyle,V_Tk_GetJoinStyle,_ANSI_ARGS_((Tcl_Interp *interp,
			    char *string, int *joinPtr)))
#endif

#ifndef Tk_GetJustify
VFUNC(int,Tk_GetJustify,V_Tk_GetJustify,_ANSI_ARGS_((Tcl_Interp *interp,
			    char *string, Tk_Justify *justifyPtr)))
#endif

#ifndef Tk_GetNumMainWindows
VFUNC(int,Tk_GetNumMainWindows,V_Tk_GetNumMainWindows,_ANSI_ARGS_((void)))
#endif

#ifndef Tk_GetPixels
VFUNC(int,Tk_GetPixels,V_Tk_GetPixels,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, char *string, int *intPtr)))
#endif

#ifndef Tk_GetPixmap
VFUNC(Pixmap,Tk_GetPixmap,V_Tk_GetPixmap,_ANSI_ARGS_((Display *display, Drawable d,
			    int width, int height, int depth)))
#endif

#ifndef Tk_GetRelief
VFUNC(int,Tk_GetRelief,V_Tk_GetRelief,_ANSI_ARGS_((Tcl_Interp *interp,
			    char *name, int *reliefPtr)))
#endif

#ifndef Tk_GetRootCoords
VFUNC(void,Tk_GetRootCoords,V_Tk_GetRootCoords,_ANSI_ARGS_((Tk_Window tkwin,
			    int *xPtr, int *yPtr)))
#endif

#ifndef Tk_GetScreenMM
VFUNC(int,Tk_GetScreenMM,V_Tk_GetScreenMM,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, char *string, double *doublePtr)))
#endif

#ifndef Tk_GetScrollInfo
VFUNC(int,Tk_GetScrollInfo,V_Tk_GetScrollInfo,_ANSI_ARGS_((Tcl_Interp *interp,
			    int argc, Arg *args, double *dblPtr,
			    int *intPtr)))
#endif

#ifndef Tk_GetSelection
VFUNC(int,Tk_GetSelection,V_Tk_GetSelection,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, Atom selection, Atom target,
			    Tk_GetSelProc *proc, ClientData clientData)))
#endif

#ifndef Tk_GetUid
VFUNC(Tk_Uid,Tk_GetUid,V_Tk_GetUid,_ANSI_ARGS_((CONST char *string)))
#endif

#ifndef Tk_GetVRootGeometry
VFUNC(void,Tk_GetVRootGeometry,V_Tk_GetVRootGeometry,_ANSI_ARGS_((Tk_Window tkwin,
			    int *xPtr, int *yPtr, int *widthPtr,
			    int *heightPtr)))
#endif

#ifndef Tk_GetVisual
VFUNC(Visual *,Tk_GetVisual,V_Tk_GetVisual,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, Arg arg, int *depthPtr,
			    Colormap *colormapPtr)))
#endif

#ifndef Tk_GetXSelection
VFUNC(int,Tk_GetXSelection,V_Tk_GetXSelection,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, Atom selection, Atom target,
			    Tk_GetXSelProc *proc, ClientData clientData)))
#endif

#ifndef Tk_Grab
VFUNC(int,Tk_Grab,V_Tk_Grab,_ANSI_ARGS_((Tcl_Interp *interp,
			    Tk_Window tkwin, int grabGlobal)))
#endif

#ifndef Tk_HandleEvent
VFUNC(void,Tk_HandleEvent,V_Tk_HandleEvent,_ANSI_ARGS_((XEvent *eventPtr)))
#endif

#ifndef Tk_IdToWindow
VFUNC(Tk_Window,Tk_IdToWindow,V_Tk_IdToWindow,_ANSI_ARGS_((Display *display,
			    Window window)))
#endif

#ifndef Tk_ImageChanged
VFUNC(void,Tk_ImageChanged,V_Tk_ImageChanged,_ANSI_ARGS_((
			    Tk_ImageMaster master, int x, int y,
			    int width, int height, int imageWidth,
			    int imageHeight)))
#endif

#ifndef Tk_InternAtom
VFUNC(Atom,Tk_InternAtom,V_Tk_InternAtom,_ANSI_ARGS_((Tk_Window tkwin,
			    char *name)))
#endif

#ifndef Tk_IntersectTextLayout
VFUNC(int,Tk_IntersectTextLayout,V_Tk_IntersectTextLayout,_ANSI_ARGS_((
			    Tk_TextLayout layout, int x, int y, int width,
			    int height)))
#endif

#ifndef Tk_MainLoop
VFUNC(void,Tk_MainLoop,V_Tk_MainLoop,_ANSI_ARGS_((void)))
#endif

#ifndef Tk_MainWindow
VFUNC(Tk_Window,Tk_MainWindow,V_Tk_MainWindow,_ANSI_ARGS_((Tcl_Interp *interp)))
#endif

#ifndef Tk_MaintainGeometry
VFUNC(void,Tk_MaintainGeometry,V_Tk_MaintainGeometry,_ANSI_ARGS_((Tk_Window slave,
			    Tk_Window master, int x, int y, int width,
			    int height)))
#endif

#ifndef Tk_MakeWindowExist
VFUNC(void,Tk_MakeWindowExist,V_Tk_MakeWindowExist,_ANSI_ARGS_((Tk_Window tkwin)))
#endif

#ifndef Tk_ManageGeometry
VFUNC(void,Tk_ManageGeometry,V_Tk_ManageGeometry,_ANSI_ARGS_((Tk_Window tkwin,
			    Tk_GeomMgr *mgrPtr, ClientData clientData)))
#endif

#ifndef Tk_MapWindow
VFUNC(void,Tk_MapWindow,V_Tk_MapWindow,_ANSI_ARGS_((Tk_Window tkwin)))
#endif

#ifndef Tk_MeasureChars
VFUNC(int,Tk_MeasureChars,V_Tk_MeasureChars,_ANSI_ARGS_((Tk_Font tkfont,
			    CONST char *source, int maxChars, int maxPixels,
			    int flags, int *lengthPtr)))
#endif

#ifndef Tk_MoveResizeWindow
VFUNC(void,Tk_MoveResizeWindow,V_Tk_MoveResizeWindow,_ANSI_ARGS_((Tk_Window tkwin,
			    int x, int y, int width, int height)))
#endif

#ifndef Tk_MoveToplevelWindow
VFUNC(void,Tk_MoveToplevelWindow,V_Tk_MoveToplevelWindow,_ANSI_ARGS_((Tk_Window tkwin,
			    int x, int y)))
#endif

#ifndef Tk_MoveWindow
VFUNC(void,Tk_MoveWindow,V_Tk_MoveWindow,_ANSI_ARGS_((Tk_Window tkwin, int x,
			    int y)))
#endif

#ifndef Tk_NameOf3DBorder
VFUNC(char *,Tk_NameOf3DBorder,V_Tk_NameOf3DBorder,_ANSI_ARGS_((Tk_3DBorder border)))
#endif

#ifndef Tk_NameOfAnchor
VFUNC(char *,Tk_NameOfAnchor,V_Tk_NameOfAnchor,_ANSI_ARGS_((Tk_Anchor anchor)))
#endif

#ifndef Tk_NameOfBitmap
VFUNC(char *,Tk_NameOfBitmap,V_Tk_NameOfBitmap,_ANSI_ARGS_((Display *display,
			    Pixmap bitmap)))
#endif

#ifndef Tk_NameOfCapStyle
VFUNC(char *,Tk_NameOfCapStyle,V_Tk_NameOfCapStyle,_ANSI_ARGS_((int cap)))
#endif

#ifndef Tk_NameOfColor
VFUNC(char *,Tk_NameOfColor,V_Tk_NameOfColor,_ANSI_ARGS_((XColor *colorPtr)))
#endif

#ifndef Tk_NameOfCursor
VFUNC(char *,Tk_NameOfCursor,V_Tk_NameOfCursor,_ANSI_ARGS_((Display *display,
			    Tk_Cursor cursor)))
#endif

#ifndef Tk_NameOfFont
VFUNC(char *,Tk_NameOfFont,V_Tk_NameOfFont,_ANSI_ARGS_((Tk_Font font)))
#endif

#ifndef Tk_NameOfImage
VFUNC(char *,Tk_NameOfImage,V_Tk_NameOfImage,_ANSI_ARGS_((
			    Tk_ImageMaster imageMaster)))
#endif

#ifndef Tk_NameOfJoinStyle
VFUNC(char *,Tk_NameOfJoinStyle,V_Tk_NameOfJoinStyle,_ANSI_ARGS_((int join)))
#endif

#ifndef Tk_NameOfJustify
VFUNC(char *,Tk_NameOfJustify,V_Tk_NameOfJustify,_ANSI_ARGS_((Tk_Justify justify)))
#endif

#ifndef Tk_NameOfRelief
VFUNC(char *,Tk_NameOfRelief,V_Tk_NameOfRelief,_ANSI_ARGS_((int relief)))
#endif

#ifndef Tk_NameToWindow
VFUNC(Tk_Window,Tk_NameToWindow,V_Tk_NameToWindow,_ANSI_ARGS_((Tcl_Interp *interp,
			    char *pathName, Tk_Window tkwin)))
#endif

#ifndef Tk_OwnSelection
VFUNC(void,Tk_OwnSelection,V_Tk_OwnSelection,_ANSI_ARGS_((Tk_Window tkwin,
			    Atom selection, Tk_LostSelProc *proc,
			    ClientData clientData)))
#endif

#ifndef Tk_PointToChar
VFUNC(int,Tk_PointToChar,V_Tk_PointToChar,_ANSI_ARGS_((Tk_TextLayout layout,
			    int x, int y)))
#endif

#ifndef Tk_PostscriptFontName
VFUNC(int,Tk_PostscriptFontName,V_Tk_PostscriptFontName,_ANSI_ARGS_((Tk_Font tkfont,
			    Tcl_DString *dsPtr)))
#endif

#ifndef Tk_PreserveColormap
VFUNC(void,Tk_PreserveColormap,V_Tk_PreserveColormap,_ANSI_ARGS_((Display *display,
			    Colormap colormap)))
#endif

#ifndef Tk_QueueWindowEvent
VFUNC(void,Tk_QueueWindowEvent,V_Tk_QueueWindowEvent,_ANSI_ARGS_((XEvent *eventPtr,
			    Tcl_QueuePosition position)))
#endif

#ifndef Tk_RedrawImage
VFUNC(void,Tk_RedrawImage,V_Tk_RedrawImage,_ANSI_ARGS_((Tk_Image image, int imageX,
			    int imageY, int width, int height,
			    Drawable drawable, int drawableX, int drawableY)))
#endif

#ifndef Tk_ResizeWindow
VFUNC(void,Tk_ResizeWindow,V_Tk_ResizeWindow,_ANSI_ARGS_((Tk_Window tkwin,
			    int width, int height)))
#endif

#ifndef Tk_RestackWindow
VFUNC(int,Tk_RestackWindow,V_Tk_RestackWindow,_ANSI_ARGS_((Tk_Window tkwin,
			    int aboveBelow, Tk_Window other)))
#endif

#ifndef Tk_RestrictEvents
VFUNC(Tk_RestrictProc *,Tk_RestrictEvents,V_Tk_RestrictEvents,_ANSI_ARGS_((Tk_RestrictProc *proc,
			    ClientData arg, ClientData *prevArgPtr)))
#endif

#ifndef Tk_SetAppName
VFUNC(char *,Tk_SetAppName,V_Tk_SetAppName,_ANSI_ARGS_((Tk_Window tkwin,
			    char *name)))
#endif

#ifndef Tk_SetBackgroundFromBorder
VFUNC(void,Tk_SetBackgroundFromBorder,V_Tk_SetBackgroundFromBorder,_ANSI_ARGS_((
			    Tk_Window tkwin, Tk_3DBorder border)))
#endif

#ifndef Tk_SetClass
VFUNC(void,Tk_SetClass,V_Tk_SetClass,_ANSI_ARGS_((Tk_Window tkwin,
			    char *className)))
#endif

#ifndef Tk_SetGrid
VFUNC(void,Tk_SetGrid,V_Tk_SetGrid,_ANSI_ARGS_((Tk_Window tkwin,
			    int reqWidth, int reqHeight, int gridWidth,
			    int gridHeight)))
#endif

#ifndef Tk_SetInternalBorder
VFUNC(void,Tk_SetInternalBorder,V_Tk_SetInternalBorder,_ANSI_ARGS_((Tk_Window tkwin,
			    int width)))
#endif

#ifndef Tk_SetWindowBackground
VFUNC(void,Tk_SetWindowBackground,V_Tk_SetWindowBackground,_ANSI_ARGS_((Tk_Window tkwin,
			    unsigned long pixel)))
#endif

#ifndef Tk_SetWindowBackgroundPixmap
VFUNC(void,Tk_SetWindowBackgroundPixmap,V_Tk_SetWindowBackgroundPixmap,_ANSI_ARGS_((
			    Tk_Window tkwin, Pixmap pixmap)))
#endif

#ifndef Tk_SetWindowBorder
VFUNC(void,Tk_SetWindowBorder,V_Tk_SetWindowBorder,_ANSI_ARGS_((Tk_Window tkwin,
			    unsigned long pixel)))
#endif

#ifndef Tk_SetWindowBorderPixmap
VFUNC(void,Tk_SetWindowBorderPixmap,V_Tk_SetWindowBorderPixmap,_ANSI_ARGS_((Tk_Window tkwin,
			    Pixmap pixmap)))
#endif

#ifndef Tk_SetWindowBorderWidth
VFUNC(void,Tk_SetWindowBorderWidth,V_Tk_SetWindowBorderWidth,_ANSI_ARGS_((Tk_Window tkwin,
			    int width)))
#endif

#ifndef Tk_SetWindowColormap
VFUNC(void,Tk_SetWindowColormap,V_Tk_SetWindowColormap,_ANSI_ARGS_((Tk_Window tkwin,
			    Colormap colormap)))
#endif

#ifndef Tk_SetWindowVisual
VFUNC(int,Tk_SetWindowVisual,V_Tk_SetWindowVisual,_ANSI_ARGS_((Tk_Window tkwin,
			    Visual *visual, int depth,
			    Colormap colormap)))
#endif

#ifndef Tk_SizeOfBitmap
VFUNC(void,Tk_SizeOfBitmap,V_Tk_SizeOfBitmap,_ANSI_ARGS_((Display *display,
			    Pixmap bitmap, int *widthPtr,
			    int *heightPtr)))
#endif

#ifndef Tk_SizeOfImage
VFUNC(void,Tk_SizeOfImage,V_Tk_SizeOfImage,_ANSI_ARGS_((Tk_Image image,
			    int *widthPtr, int *heightPtr)))
#endif

#ifndef Tk_StrictMotif
VFUNC(int,Tk_StrictMotif,V_Tk_StrictMotif,_ANSI_ARGS_((Tk_Window tkwin)))
#endif

#ifndef Tk_TextLayoutToPostscript
VFUNC(void,Tk_TextLayoutToPostscript,V_Tk_TextLayoutToPostscript,_ANSI_ARGS_((
			    Tcl_Interp *interp, Tk_TextLayout layout)))
#endif

#ifndef Tk_TextWidth
VFUNC(int,Tk_TextWidth,V_Tk_TextWidth,_ANSI_ARGS_((Tk_Font font,
			    CONST char *string, int numChars)))
#endif

#ifndef Tk_TkObjCmd
VFUNC(int,Tk_TkObjCmd,V_Tk_TkObjCmd,_ANSI_ARGS_((ClientData clientData,
			    Tcl_Interp *interp, int objc,
			    Tcl_Obj *CONST objv[])))
#endif

#ifndef Tk_ToplevelCmd
VFUNC(int,Tk_ToplevelCmd,V_Tk_ToplevelCmd,_ANSI_ARGS_((ClientData clientData,
			    Tcl_Interp *interp, int argc, Arg *args)))
#endif

#ifndef Tk_UndefineCursor
VFUNC(void,Tk_UndefineCursor,V_Tk_UndefineCursor,_ANSI_ARGS_((Tk_Window window)))
#endif

#ifndef Tk_UnderlineChars
VFUNC(void,Tk_UnderlineChars,V_Tk_UnderlineChars,_ANSI_ARGS_((Display *display,
			    Drawable drawable, GC gc, Tk_Font tkfont,
			    CONST char *source, int x, int y, int firstChar,
			    int lastChar)))
#endif

#ifndef Tk_UnderlineTextLayout
VFUNC(void,Tk_UnderlineTextLayout,V_Tk_UnderlineTextLayout,_ANSI_ARGS_((
			    Display *display, Drawable drawable, GC gc,
			    Tk_TextLayout layout, int x, int y,
			    int underline)))
#endif

#ifndef Tk_Ungrab
VFUNC(void,Tk_Ungrab,V_Tk_Ungrab,_ANSI_ARGS_((Tk_Window tkwin)))
#endif

#ifndef Tk_UnmaintainGeometry
VFUNC(void,Tk_UnmaintainGeometry,V_Tk_UnmaintainGeometry,_ANSI_ARGS_((Tk_Window slave,
			    Tk_Window master)))
#endif

#ifndef Tk_UnmapWindow
VFUNC(void,Tk_UnmapWindow,V_Tk_UnmapWindow,_ANSI_ARGS_((Tk_Window tkwin)))
#endif

#ifndef Tk_UnsetGrid
VFUNC(void,Tk_UnsetGrid,V_Tk_UnsetGrid,_ANSI_ARGS_((Tk_Window tkwin)))
#endif

#ifndef Tk_WinfoObjCmd
VFUNC(int,Tk_WinfoObjCmd,V_Tk_WinfoObjCmd,_ANSI_ARGS_((ClientData clientData,
			    Tcl_Interp *interp, int objc,
			    Tcl_Obj *CONST objv[])))
#endif

#endif /* _TK */
