tcl.decls
来自「tcl是工具命令语言」· DECLS 代码 · 共 1,836 行 · 第 1/4 页
DECLS
1,836 行
declare 259 generic { int Tcl_UpVar2(Tcl_Interp *interp, CONST char *frameName, CONST char *part1, CONST char *part2, CONST char *localName, int flags)}declare 260 generic { int Tcl_VarEval(Tcl_Interp *interp, ...)}declare 261 generic { ClientData Tcl_VarTraceInfo(Tcl_Interp *interp, CONST char *varName, int flags, Tcl_VarTraceProc *procPtr, ClientData prevClientData)}declare 262 generic { ClientData Tcl_VarTraceInfo2(Tcl_Interp *interp, CONST char *part1, CONST char *part2, int flags, Tcl_VarTraceProc *procPtr, ClientData prevClientData)}declare 263 generic { int Tcl_Write(Tcl_Channel chan, CONST char *s, int slen)}declare 264 generic { void Tcl_WrongNumArgs(Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[], CONST char *message)}declare 265 generic { int Tcl_DumpActiveMemory(CONST char *fileName)}declare 266 generic { void Tcl_ValidateAllMemory(CONST char *file, int line)}declare 267 generic { void Tcl_AppendResultVA(Tcl_Interp *interp, va_list argList)}declare 268 generic { void Tcl_AppendStringsToObjVA(Tcl_Obj *objPtr, va_list argList)}declare 269 generic { CONST84_RETURN char * Tcl_HashStats(Tcl_HashTable *tablePtr)}declare 270 generic { CONST84_RETURN char * Tcl_ParseVar(Tcl_Interp *interp, CONST char *str, CONST84 char **termPtr)}declare 271 generic { CONST84_RETURN char * Tcl_PkgPresent(Tcl_Interp *interp, CONST char *name, CONST char *version, int exact)}declare 272 generic { CONST84_RETURN char * Tcl_PkgPresentEx(Tcl_Interp *interp, CONST char *name, CONST char *version, int exact, ClientData *clientDataPtr)}declare 273 generic { int Tcl_PkgProvide(Tcl_Interp *interp, CONST char *name, CONST char *version)}declare 274 generic { CONST84_RETURN char * Tcl_PkgRequire(Tcl_Interp *interp, CONST char *name, CONST char *version, int exact)}declare 275 generic { void Tcl_SetErrorCodeVA(Tcl_Interp *interp, va_list argList)}declare 276 generic { int Tcl_VarEvalVA(Tcl_Interp *interp, va_list argList)}declare 277 generic { Tcl_Pid Tcl_WaitPid(Tcl_Pid pid, int *statPtr, int options)}declare 278 generic { void Tcl_PanicVA(CONST char *format, va_list argList)}declare 279 generic { void Tcl_GetVersion(int *major, int *minor, int *patchLevel, int *type)}declare 280 generic { void Tcl_InitMemory(Tcl_Interp *interp)}# Andreas Kupries <a.kupries@westend.com>, 03/21/1999# "Trf-Patch for filtering channels"## C-Level API for (un)stacking of channels. This allows the introduction# of filtering channels with relatively little changes to the core.# This patch was created in cooperation with Jan Nijtmans j.nijtmans@chello.nl# and is therefore part of his plus-patches too.## It would have been possible to place the following definitions according# to the alphabetical order used elsewhere in this file, but I decided# against that to ease the maintenance of the patch across new tcl versions# (patch usually has no problems to integrate the patch file for the last# version into the new one).declare 281 generic { Tcl_Channel Tcl_StackChannel(Tcl_Interp *interp, Tcl_ChannelType *typePtr, ClientData instanceData, int mask, Tcl_Channel prevChan)}declare 282 generic { int Tcl_UnstackChannel(Tcl_Interp *interp, Tcl_Channel chan)}declare 283 generic { Tcl_Channel Tcl_GetStackedChannel(Tcl_Channel chan)}# 284 was reserved, but added in 8.4a2declare 284 generic { void Tcl_SetMainLoop(Tcl_MainLoopProc *proc)}# Reserved for future use (8.0.x vs. 8.1)# declare 285 generic {# }# Added in 8.1:declare 286 generic { void Tcl_AppendObjToObj(Tcl_Obj *objPtr, Tcl_Obj *appendObjPtr)}declare 287 generic { Tcl_Encoding Tcl_CreateEncoding(Tcl_EncodingType *typePtr)}declare 288 generic { void Tcl_CreateThreadExitHandler(Tcl_ExitProc *proc, ClientData clientData)}declare 289 generic { void Tcl_DeleteThreadExitHandler(Tcl_ExitProc *proc, ClientData clientData)}declare 290 generic { void Tcl_DiscardResult(Tcl_SavedResult *statePtr)}declare 291 generic { int Tcl_EvalEx(Tcl_Interp *interp, CONST char *script, int numBytes, int flags)}declare 292 generic { int Tcl_EvalObjv(Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[], int flags)}declare 293 generic { int Tcl_EvalObjEx(Tcl_Interp *interp, Tcl_Obj *objPtr, int flags)}declare 294 generic { void Tcl_ExitThread(int status)}declare 295 generic { int Tcl_ExternalToUtf(Tcl_Interp *interp, Tcl_Encoding encoding, CONST char *src, int srcLen, int flags, Tcl_EncodingState *statePtr, char *dst, int dstLen, int *srcReadPtr, int *dstWrotePtr, int *dstCharsPtr)}declare 296 generic { char * Tcl_ExternalToUtfDString(Tcl_Encoding encoding, CONST char *src, int srcLen, Tcl_DString *dsPtr)}declare 297 generic { void Tcl_FinalizeThread(void)}declare 298 generic { void Tcl_FinalizeNotifier(ClientData clientData)}declare 299 generic { void Tcl_FreeEncoding(Tcl_Encoding encoding)}declare 300 generic { Tcl_ThreadId Tcl_GetCurrentThread(void)}declare 301 generic { Tcl_Encoding Tcl_GetEncoding(Tcl_Interp *interp, CONST char *name)}declare 302 generic { CONST84_RETURN char * Tcl_GetEncodingName(Tcl_Encoding encoding)}declare 303 generic { void Tcl_GetEncodingNames(Tcl_Interp *interp)}declare 304 generic { int Tcl_GetIndexFromObjStruct(Tcl_Interp *interp, Tcl_Obj *objPtr, CONST VOID *tablePtr, int offset, CONST char *msg, int flags, int *indexPtr)}declare 305 generic { VOID * Tcl_GetThreadData(Tcl_ThreadDataKey *keyPtr, int size)}declare 306 generic { Tcl_Obj * Tcl_GetVar2Ex(Tcl_Interp *interp, CONST char *part1, CONST char *part2, int flags)}declare 307 generic { ClientData Tcl_InitNotifier(void)}declare 308 generic { void Tcl_MutexLock(Tcl_Mutex *mutexPtr)}declare 309 generic { void Tcl_MutexUnlock(Tcl_Mutex *mutexPtr)}declare 310 generic { void Tcl_ConditionNotify(Tcl_Condition *condPtr)}declare 311 generic { void Tcl_ConditionWait(Tcl_Condition *condPtr, Tcl_Mutex *mutexPtr, Tcl_Time *timePtr)}declare 312 generic { int Tcl_NumUtfChars(CONST char *src, int len)}declare 313 generic { int Tcl_ReadChars(Tcl_Channel channel, Tcl_Obj *objPtr, int charsToRead, int appendFlag)}declare 314 generic { void Tcl_RestoreResult(Tcl_Interp *interp, Tcl_SavedResult *statePtr)}declare 315 generic { void Tcl_SaveResult(Tcl_Interp *interp, Tcl_SavedResult *statePtr)}declare 316 generic { int Tcl_SetSystemEncoding(Tcl_Interp *interp, CONST char *name)}declare 317 generic { Tcl_Obj * Tcl_SetVar2Ex(Tcl_Interp *interp, CONST char *part1, CONST char *part2, Tcl_Obj *newValuePtr, int flags)}declare 318 generic { void Tcl_ThreadAlert(Tcl_ThreadId threadId)}declare 319 generic { void Tcl_ThreadQueueEvent(Tcl_ThreadId threadId, Tcl_Event* evPtr, Tcl_QueuePosition position)}declare 320 generic { Tcl_UniChar Tcl_UniCharAtIndex(CONST char *src, int index)}declare 321 generic { Tcl_UniChar Tcl_UniCharToLower(int ch)}declare 322 generic { Tcl_UniChar Tcl_UniCharToTitle(int ch)}declare 323 generic { Tcl_UniChar Tcl_UniCharToUpper(int ch)}declare 324 generic { int Tcl_UniCharToUtf(int ch, char *buf)}declare 325 generic { CONST84_RETURN char * Tcl_UtfAtIndex(CONST char *src, int index)}declare 326 generic { int Tcl_UtfCharComplete(CONST char *src, int len)}declare 327 generic { int Tcl_UtfBackslash(CONST char *src, int *readPtr, char *dst)}declare 328 generic { CONST84_RETURN char * Tcl_UtfFindFirst(CONST char *src, int ch)}declare 329 generic { CONST84_RETURN char * Tcl_UtfFindLast(CONST char *src, int ch)}declare 330 generic { CONST84_RETURN char * Tcl_UtfNext(CONST char *src)}declare 331 generic { CONST84_RETURN char * Tcl_UtfPrev(CONST char *src, CONST char *start)}declare 332 generic { int Tcl_UtfToExternal(Tcl_Interp *interp, Tcl_Encoding encoding, CONST char *src, int srcLen, int flags, Tcl_EncodingState *statePtr, char *dst, int dstLen, int *srcReadPtr, int *dstWrotePtr, int *dstCharsPtr)}declare 333 generic { char * Tcl_UtfToExternalDString(Tcl_Encoding encoding, CONST char *src, int srcLen, Tcl_DString *dsPtr)}declare 334 generic { int Tcl_UtfToLower(char *src)}declare 335 generic { int Tcl_UtfToTitle(char *src)}declare 336 generic { int Tcl_UtfToUniChar(CONST char *src, Tcl_UniChar *chPtr)}declare 337 generic { int Tcl_UtfToUpper(char *src)}declare 338 generic { int Tcl_WriteChars(Tcl_Channel chan, CONST char *src, int srcLen)}declare 339 generic { int Tcl_WriteObj(Tcl_Channel chan, Tcl_Obj *objPtr)}declare 340 generic { char * Tcl_GetString(Tcl_Obj *objPtr)}declare 341 generic { CONST84_RETURN char * Tcl_GetDefaultEncodingDir(void)}declare 342 generic { void Tcl_SetDefaultEncodingDir(CONST char *path)}declare 343 generic { void Tcl_AlertNotifier(ClientData clientData)}declare 344 generic { void Tcl_ServiceModeHook(int mode)}declare 345 generic { int Tcl_UniCharIsAlnum(int ch)}declare 346 generic { int Tcl_UniCharIsAlpha(int ch)}declare 347 generic { int Tcl_UniCharIsDigit(int ch)}declare 348 generic { int Tcl_UniCharIsLower(int ch)}declare 349 generic { int Tcl_UniCharIsSpace(int ch)}declare 350 generic { int Tcl_UniCharIsUpper(int ch)}declare 351 generic { int Tcl_UniCharIsWordChar(int ch)}declare 352 generic { int Tcl_UniCharLen(CONST Tcl_UniChar *str)}declare 353 generic { int Tcl_UniCharNcmp(CONST Tcl_UniChar *cs, CONST Tcl_UniChar *ct, unsigned long n)}declare 354 generic { char * Tcl_UniCharToUtfDString(CONST Tcl_UniChar *string, int numChars, Tcl_DString *dsPtr)}declare 355 generic { Tcl_UniChar * Tcl_UtfToUniCharDString(CONST char *string, int length, Tcl_DString *dsPtr)}declare 356 generic { Tcl_RegExp Tcl_GetRegExpFromObj(Tcl_Interp *interp, Tcl_Obj *patObj, int flags)}declare 357 generic { Tcl_Obj *Tcl_EvalTokens(Tcl_Interp *interp, Tcl_Token *tokenPtr, int count)}declare 358 generic { void Tcl_FreeParse(Tcl_Parse *parsePtr)}declare 359 generic { void Tcl_LogCommandInfo(Tcl_Interp *interp, CONST char *script, CONST char *command, int length)}declare 360 generic { int Tcl_ParseBraces(Tcl_Interp *interp, CONST char *string, int numBytes, Tcl_Parse *parsePtr, int append, CONST84 char **termPtr)}declare 361 generic { int Tcl_ParseCommand(Tcl_Interp *interp, CONST char *string, int numBytes, int nested, Tcl_Parse *parsePtr)}declare 362 generic { int Tcl_ParseExpr(Tcl_Interp *interp, CONST char *string, int numBytes, Tcl_Parse *parsePtr) }declare 363 generic { int Tcl_ParseQuotedString(Tcl_Interp *interp, CONST char *string, int numBytes, Tcl_Parse *parsePtr, int append, CONST84 char **termPtr)}declare 364 generic { int Tcl_ParseVarName(Tcl_Interp *interp, CONST char *string, int numBytes, Tcl_Parse *parsePtr, int append)}# These 4 functions are obsolete, use Tcl_FSGetCwd, Tcl_FSChdir,# Tcl_FSAccess and Tcl_FSStatdeclare 365 generic { char *Tcl_GetCwd(Tcl_Interp *interp, Tcl_DString *cwdPtr)}declare 366 generic { int Tcl_Chdir(CONST char *dirName)}declare 367 generic { int Tcl_Access(CONST char *path, int mode)}declare 368 generic { int Tcl_Stat(CONST char *path, struct stat *bufPtr)}declare 369 generic { int Tcl_UtfNcmp(CONST char *s1, CONST char *s2, unsigned long n)}declare 370 generic { int Tcl_UtfNcasecmp(CONST char *s1, CONST char *s2, unsigned long n)}declare 371 generic { int Tcl_StringCaseMatch(CONST char *str, CONST char *pattern, int nocase)}declare 372 generic { int Tcl_UniCharIsControl(int ch)}declare 373 generic { int Tcl_UniCharIsGraph(int ch)}declare 374 generic { int Tcl_UniCharIsPrint(int ch)}declare 375 generic { int Tcl_UniCharIsPunct(int ch)}declare 376 generic { int Tcl_RegExpExecObj(Tcl_Interp *interp, Tcl_RegExp regexp, Tcl_Obj *objPtr, int offset, int nmatches, int flags)}declare 377 generic { void Tcl_RegExpGetInfo(Tcl_RegExp regexp, Tcl_RegExpInfo *infoPtr)}declare 378 generic { Tcl_Obj * Tcl_NewUnicodeObj(CONST Tcl_UniChar *unicode, int numChars)}declare 379 generic { void Tcl_SetUnicodeObj(Tcl_Obj *objPtr, CONST Tcl_UniChar *unicode, int numChars)}declare 380 generic { int Tcl_GetCharLength(Tcl_Obj *objPtr)}declare 381 generic { Tcl_UniChar Tcl_GetUniChar(Tcl_Obj *objPtr, int index)}declare 382 generic { Tcl_UniChar * Tcl_GetUnicode(Tcl_Obj *objPtr)}declare 383 generic { Tcl_Obj * Tcl_GetRange(Tcl_Obj *objPtr, int first, int last)}declare 384 generic { void Tcl_AppendUnicodeToObj(Tcl_Obj *objPtr, CONST Tcl_UniChar *unicode, int length)}declare 385 generic { int Tcl_RegExpMatchObj(Tcl_Interp *interp, Tcl_Obj *stringObj, Tcl_Obj *patternObj)}declare 386 generic { void Tcl_SetNotifier(Tcl_NotifierProcs *notifierProcPtr)}declare 387 generic { Tcl_Mutex * Tcl_GetAllocMutex(void)}declare 388 generic { int Tcl_GetChannelNames(Tcl_Interp *interp)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?