Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:docs:tk:som:sc:pr [2024/10/09 03:43] – [somtGetObjectWrapper function] prokushev | en:docs:tk:som:sc:pr [2024/10/09 03:59] (current) – prokushev | ||
---|---|---|---|
Line 62: | Line 62: | ||
==== somtfexists, | ==== somtfexists, | ||
- | < | + | < |
SOMEXTERN BOOL somtfexists(char *file); | SOMEXTERN BOOL somtfexists(char *file); | ||
SOMEXTERN BOOL SOMLINK somtfexistsSL(char *file); | SOMEXTERN BOOL SOMLINK somtfexistsSL(char *file); | ||
Line 73: | Line 73: | ||
==== somtsearchFile, | ==== somtsearchFile, | ||
- | < | + | < |
SOMEXTERN char * somtsearchFile(char *file, char *fullpath, char *env); | SOMEXTERN char * somtsearchFile(char *file, char *fullpath, char *env); | ||
SOMEXTERN char * SOMLINK somtsearchFileSL(char *file, char *fullpath, char *env); | SOMEXTERN char * SOMLINK somtsearchFileSL(char *file, char *fullpath, char *env); | ||
Line 84: | Line 84: | ||
==== somttraverseParents, | ==== somttraverseParents, | ||
- | < | + | < |
SOMEXTERN int somttraverseParents(FILE *fp, Entry * cls, Entry *arg, int (*fn)(FILE*, | SOMEXTERN int somttraverseParents(FILE *fp, Entry * cls, Entry *arg, int (*fn)(FILE*, | ||
SOMEXTERN int SOMLINK somttraverseParentsSL(FILE *fp, Entry * cls, Entry *arg, int (*fn)(FILE*, | SOMEXTERN int SOMLINK somttraverseParentsSL(FILE *fp, Entry * cls, Entry *arg, int (*fn)(FILE*, | ||
Line 93: | Line 93: | ||
==== somtloadSL function ==== | ==== somtloadSL function ==== | ||
- | < | + | < |
SOMEXTERN EmitFn | SOMEXTERN EmitFn | ||
</ | </ | ||
Line 102: | Line 102: | ||
==== somtfindBaseEp, | ==== somtfindBaseEp, | ||
- | < | + | < |
SOMEXTERN Entry * somtfindBaseEp(Entry *ep); | SOMEXTERN Entry * somtfindBaseEp(Entry *ep); | ||
SOMEXTERN Entry * SOMLINK somtfindBaseEpSL(Entry *ep); | SOMEXTERN Entry * SOMLINK somtfindBaseEpSL(Entry *ep); | ||
Line 111: | Line 111: | ||
==== somtgetType, | ==== somtgetType, | ||
- | < | + | < |
SOMEXTERN Entry * somtgetType(char *name, SOMTTypes type); | SOMEXTERN Entry * somtgetType(char *name, SOMTTypes type); | ||
SOMEXTERN Entry * SOMLINK somtgetTypeSL(char *name, SOMTTypes type); | SOMEXTERN Entry * SOMLINK somtgetTypeSL(char *name, SOMTTypes type); | ||
Line 120: | Line 120: | ||
==== somtokfopen, | ==== somtokfopen, | ||
- | < | + | < |
SOMEXTERN FILE * somtokfopen(char *path, char *mode); | SOMEXTERN FILE * somtokfopen(char *path, char *mode); | ||
SOMEXTERN FILE * SOMLINK somtokfopenSL(char *path, char *mode); | SOMEXTERN FILE * SOMLINK somtokfopenSL(char *path, char *mode); | ||
Line 131: | Line 131: | ||
==== somtokrename, | ==== somtokrename, | ||
- | < | + | < |
SOMEXTERN int somtokrename(const char*, const char *); | SOMEXTERN int somtokrename(const char*, const char *); | ||
SOMEXTERN int SOMLINK somtokrenameSL(const char*, const char *); | SOMEXTERN int SOMLINK somtokrenameSL(const char*, const char *); | ||
Line 140: | Line 140: | ||
==== somtopenEmitFile, | ==== somtopenEmitFile, | ||
- | < | + | < |
SOMEXTERN FILE * somtopenEmitFile(char *file, char *ext); | SOMEXTERN FILE * somtopenEmitFile(char *file, char *ext); | ||
SOMEXTERN FILE * SOMLINK somtopenEmitFileSL(char *file, char *ext); | SOMEXTERN FILE * SOMLINK somtopenEmitFileSL(char *file, char *ext); | ||
Line 149: | Line 149: | ||
==== somtisDbcs, somtisDbcsSL function ==== | ==== somtisDbcs, somtisDbcsSL function ==== | ||
- | < | + | < |
SOMEXTERN BOOL somtisDbcs(int c); | SOMEXTERN BOOL somtisDbcs(int c); | ||
SOMEXTERN BOOL SOMLINK somtisDbcsSL(int c); | SOMEXTERN BOOL SOMLINK somtisDbcsSL(int c); | ||
Line 158: | Line 158: | ||
==== somtremoveExt, | ==== somtremoveExt, | ||
- | < | + | < |
SOMEXTERN boolean somtremoveExt(char *name, char *ext, char *buf); | SOMEXTERN boolean somtremoveExt(char *name, char *ext, char *buf); | ||
SOMEXTERN boolean SOMLINK somtremoveExt(char *name, char *ext, char *buf); | SOMEXTERN boolean SOMLINK somtremoveExt(char *name, char *ext, char *buf); | ||
Line 169: | Line 169: | ||
==== somtaddExt, somtaddExtSL function ==== | ==== somtaddExt, somtaddExtSL function ==== | ||
- | < | + | < |
SOMEXTERN char * somtaddExt(char *name, char *ext, char *buf); | SOMEXTERN char * somtaddExt(char *name, char *ext, char *buf); | ||
SOMEXTERN char * SOMLINK somtaddExtSL(char *name, char *ext, char *buf); | SOMEXTERN char * SOMLINK somtaddExtSL(char *name, char *ext, char *buf); | ||
Line 180: | Line 180: | ||
==== somtarrayToPtr, | ==== somtarrayToPtr, | ||
- | < | + | < |
SOMEXTERN char * somtarrayToPtr(Entry *ep, char *stars, char *buf); | SOMEXTERN char * somtarrayToPtr(Entry *ep, char *stars, char *buf); | ||
SOMEXTERN char * SOMLINK somtarrayToPtrSL(Entry *ep, char *stars, char *buf); | SOMEXTERN char * SOMLINK somtarrayToPtrSL(Entry *ep, char *stars, char *buf); | ||
Line 189: | Line 189: | ||
==== somtattNormalise, | ==== somtattNormalise, | ||
- | < | + | < |
SOMEXTERN char * somtattNormalise(char *name, char *buf); | SOMEXTERN char * somtattNormalise(char *name, char *buf); | ||
SOMEXTERN char * SOMLINK somtattNormaliseSL(char *name, char *buf); | SOMEXTERN char * SOMLINK somtattNormaliseSL(char *name, char *buf); | ||
Line 197: | Line 197: | ||
==== somtbasename, | ==== somtbasename, | ||
- | < | + | < |
SOMEXTERN char * somtbasenameSL(char *path); | SOMEXTERN char * somtbasenameSL(char *path); | ||
SOMEXTERN char * SOMLINK somtbasenameSL(char *path); | SOMEXTERN char * SOMLINK somtbasenameSL(char *path); | ||
Line 208: | Line 208: | ||
==== somtctos, somtctosSL function ==== | ==== somtctos, somtctosSL function ==== | ||
- | < | + | < |
SOMEXTERN char * somtctos(Const *con, char *buf); | SOMEXTERN char * somtctos(Const *con, char *buf); | ||
SOMEXTERN char * SOMLINK somtctosSL(Const *con, char *buf); | SOMEXTERN char * SOMLINK somtctosSL(Const *con, char *buf); | ||
Line 217: | Line 217: | ||
==== somtdbcsPostincr, | ==== somtdbcsPostincr, | ||
- | < | + | < |
SOMEXTERN char * somtdbcsPostincr(char **p); | SOMEXTERN char * somtdbcsPostincr(char **p); | ||
SOMEXTERN char * SOMLINK somtdbcsPostincrSL(char **p); | SOMEXTERN char * SOMLINK somtdbcsPostincrSL(char **p); | ||
Line 226: | Line 226: | ||
==== somtdbcsPreincr, | ==== somtdbcsPreincr, | ||
- | < | + | < |
SOMEXTERN char * somtdbcsPreincr(char **p); | SOMEXTERN char * somtdbcsPreincr(char **p); | ||
SOMEXTERN char * SOMLINK somtdbcsPreincrSL(char **p); | SOMEXTERN char * SOMLINK somtdbcsPreincrSL(char **p); | ||
Line 235: | Line 235: | ||
==== somtdbcsStrchr, | ==== somtdbcsStrchr, | ||
- | < | + | < |
SOMEXTERN char * somtdbcsStrchr(char *s, int c); | SOMEXTERN char * somtdbcsStrchr(char *s, int c); | ||
SOMEXTERN char * SOMLINK somtdbcsStrchrSL(char *s, int c); | SOMEXTERN char * SOMLINK somtdbcsStrchrSL(char *s, int c); | ||
Line 244: | Line 244: | ||
==== somtdbcsStrrchr, | ==== somtdbcsStrrchr, | ||
- | < | + | < |
SOMEXTERN char * somtdbcsStrrchr(char *s, int c); | SOMEXTERN char * somtdbcsStrrchr(char *s, int c); | ||
SOMEXTERN char * SOMLINK somtdbcsStrrchrSL(char *s, int c); | SOMEXTERN char * SOMLINK somtdbcsStrrchrSL(char *s, int c); | ||
Line 252: | Line 252: | ||
==== somtdbcsStrstr, | ==== somtdbcsStrstr, | ||
- | < | + | < |
SOMEXTERN char * somtdbcsStrstr(char *s1, char *s2); | SOMEXTERN char * somtdbcsStrstr(char *s1, char *s2); | ||
SOMEXTERN char * SOMLINK somtdbcsStrstrSL(char *s1, char *s2); | SOMEXTERN char * SOMLINK somtdbcsStrstrSL(char *s1, char *s2); | ||
Line 263: | Line 263: | ||
==== somteptotype, | ==== somteptotype, | ||
- | < | + | < |
SOMEXTERN char * somteptotype(Entry *ep, char *ptrs, char *buf); | SOMEXTERN char * somteptotype(Entry *ep, char *ptrs, char *buf); | ||
SOMEXTERN char * SOMLINK somteptotypeSL(Entry *ep, char *ptrs, char *buf); | SOMEXTERN char * SOMLINK somteptotypeSL(Entry *ep, char *ptrs, char *buf); | ||
Line 272: | Line 272: | ||
==== somtgetDesc, | ==== somtgetDesc, | ||
- | < | + | < |
SOMEXTERN char * somtgetDesc(Stab *stab, Entry *cls, Entry *method, char *desc, BOOL addQuotes, BOOL use, BOOL versflg); | SOMEXTERN char * somtgetDesc(Stab *stab, Entry *cls, Entry *method, char *desc, BOOL addQuotes, BOOL use, BOOL versflg); | ||
SOMEXTERN char * SOMLINK somtgetDescSL(Stab *stab, Entry *cls, Entry *method, char *desc, BOOL addQuotes, BOOL use, BOOL versflg); | SOMEXTERN char * SOMLINK somtgetDescSL(Stab *stab, Entry *cls, Entry *method, char *desc, BOOL addQuotes, BOOL use, BOOL versflg); | ||
Line 281: | Line 281: | ||
==== somtgetVersion, | ==== somtgetVersion, | ||
- | < | + | < |
SOMEXTERN char * somtgetVersion(char *sccsid, char *version); | SOMEXTERN char * somtgetVersion(char *sccsid, char *version); | ||
SOMEXTERN char * SOMLINK somtgetVersionSL(char *sccsid, char *version); | SOMEXTERN char * SOMLINK somtgetVersionSL(char *sccsid, char *version); | ||
Line 290: | Line 290: | ||
==== somtgetgatt, | ==== somtgetgatt, | ||
- | < | + | < |
SOMEXTERN char * somtgetgatt(char *s); | SOMEXTERN char * somtgetgatt(char *s); | ||
SOMEXTERN char * SOMLINK somtgetgattSL(char *s); | SOMEXTERN char * SOMLINK somtgetgattSL(char *s); | ||
Line 299: | Line 299: | ||
==== somtnextword, | ==== somtnextword, | ||
- | < | + | < |
SOMEXTERN char * somtnextword(const char *s, char *buf); | SOMEXTERN char * somtnextword(const char *s, char *buf); | ||
SOMEXTERN char * SOMLINK somtnextwordSL(const char *s, char *buf); | SOMEXTERN char * SOMLINK somtnextwordSL(const char *s, char *buf); | ||
Line 354: | Line 354: | ||
==== somttype, somttypeSL function ==== | ==== somttype, somttypeSL function ==== | ||
- | < | + | < |
SOMEXTERN char * somttype(SOMTType type); | SOMEXTERN char * somttype(SOMTType type); | ||
SOMEXTERN char * SOMLINK somttypeSL(SOMTType type); | SOMEXTERN char * SOMLINK somttypeSL(SOMTType type); | ||
Line 366: | Line 366: | ||
==== somtuniqFmt, | ==== somtuniqFmt, | ||
- | < | + | < |
SOMEXTERN char * somtuniqFmt(MemBuf *membuf, char *fmt, ...) | SOMEXTERN char * somtuniqFmt(MemBuf *membuf, char *fmt, ...) | ||
SOMEXTERN char * SOMLINK somtuniqFmtSL(MemBuf *membuf, char *fmt, ...) | SOMEXTERN char * SOMLINK somtuniqFmtSL(MemBuf *membuf, char *fmt, ...) | ||
Line 376: | Line 376: | ||
==== somtargFlag, | ==== somtargFlag, | ||
- | < | + | < |
SOMEXTERN int somtargFlag(int *argc, char ***argv); | SOMEXTERN int somtargFlag(int *argc, char ***argv); | ||
SOMEXTERN int SOMLINK somtargFlagSL(int *argc, char ***argv); | SOMEXTERN int SOMLINK somtargFlagSL(int *argc, char ***argv); | ||
Line 409: | Line 409: | ||
==== somtdiskFull, | ==== somtdiskFull, | ||
- | < | + | < |
SOMEXTERN int somtdiskFull(FILE *fp); | SOMEXTERN int somtdiskFull(FILE *fp); | ||
SOMEXTERN int SOMLINK somtdiskFullSL(FILE *fp); | SOMEXTERN int SOMLINK somtdiskFullSL(FILE *fp); | ||
Line 417: | Line 417: | ||
==== somtfclose, somtfcloseSL function ==== | ==== somtfclose, somtfcloseSL function ==== | ||
- | < | + | < |
SOMEXTERN int somtfclose(FILE *fp); | SOMEXTERN int somtfclose(FILE *fp); | ||
SOMEXTERN int SOMLINK somtfcloseSL(FILE *fp); | SOMEXTERN int SOMLINK somtfcloseSL(FILE *fp); | ||
Line 460: | Line 460: | ||
==== somtokremove, | ==== somtokremove, | ||
- | < | + | < |
SOMEXTERN int somtokremove(char *file); | SOMEXTERN int somtokremove(char *file); | ||
SOMEXTERN int SOMLINK somtokremoveSL(char *file); | SOMEXTERN int SOMLINK somtokremoveSL(char *file); | ||
Line 487: | Line 487: | ||
==== somtsmalloc, | ==== somtsmalloc, | ||
- | < | + | < |
SOMEXTERN void * somtsmalloc(size_t nbytes, BYTE clear); | SOMEXTERN void * somtsmalloc(size_t nbytes, BYTE clear); | ||
SOMEXTERN void * SOMLINK somtsmallocSL(size_t nbytes, BYTE clear); | SOMEXTERN void * SOMLINK somtsmallocSL(size_t nbytes, BYTE clear); | ||
Line 514: | Line 514: | ||
==== somtcleanFilesFatal, | ==== somtcleanFilesFatal, | ||
- | < | + | < |
SOMEXTERN void somtcleanFilesFatal(int status); | SOMEXTERN void somtcleanFilesFatal(int status); | ||
SOMEXTERN void SOMLINK somtcleanFilesFatalSL(int status); | SOMEXTERN void SOMLINK somtcleanFilesFatalSL(int status); | ||
Line 637: | Line 637: | ||
==== somtuppercase, | ==== somtuppercase, | ||
- | < | + | < |
SOMEXTERN char * somtuppercase(char *s, char *buf); | SOMEXTERN char * somtuppercase(char *s, char *buf); | ||
SOMEXTERN char * SOMLINK somtuppercaseSL(char *s, char *buf); | SOMEXTERN char * SOMLINK somtuppercaseSL(char *s, char *buf); | ||
Line 648: | Line 648: | ||
==== somtlowercase, | ==== somtlowercase, | ||
- | < | + | < |
SOMEXTERN char * somtlowercase(char *s, char *buf); | SOMEXTERN char * somtlowercase(char *s, char *buf); | ||
SOMEXTERN char * SOMLINK somtlowercase(char *s, char *buf) | SOMEXTERN char * SOMLINK somtlowercase(char *s, char *buf) | ||
Line 787: | Line 787: | ||
==== somtisvoid, somtisvoidSL function ==== | ==== somtisvoid, somtisvoidSL function ==== | ||
- | < | + | < |
SOMEXTERN boolean somtisvoidSL(Entry *type, char *defn) | SOMEXTERN boolean somtisvoidSL(Entry *type, char *defn) | ||
SOMEXTERN BOOL SOMLINK somtisvoidSL(Entry *type, char *defn) | SOMEXTERN BOOL SOMLINK somtisvoidSL(Entry *type, char *defn) | ||
Line 989: | Line 989: | ||
==== somtemitModule, | ==== somtemitModule, | ||
- | < | + | < |
SOMEXTERN FILE * somtemitModule(char *file, Entry *cls, char *ext); | SOMEXTERN FILE * somtemitModule(char *file, Entry *cls, char *ext); | ||
SOMEXTERN FILE * SOMLINK somtemitModuleSL(char *file, Entry *cls, char *ext); | SOMEXTERN FILE * SOMLINK somtemitModuleSL(char *file, Entry *cls, char *ext); | ||
Line 1476: | Line 1476: | ||
===== somtkeyword, | ===== somtkeyword, | ||
- | < | + | < |
SOMEXTERN long somtkeyword(KeytabEntry *keytab, char *kword, long keytabsize); | SOMEXTERN long somtkeyword(KeytabEntry *keytab, char *kword, long keytabsize); | ||
SOMEXTERN long SOMLINK somtkeywordSL(KeytabEntry *keytab, char *kword, long keytabsize); | SOMEXTERN long SOMLINK somtkeywordSL(KeytabEntry *keytab, char *kword, long keytabsize); | ||
Line 1487: | Line 1487: | ||
===== somtaddEntry, | ===== somtaddEntry, | ||
- | < | + | < |
SOMEXTERN void * somtaddEntry(Stab *stab, char *name, void *ep); | SOMEXTERN void * somtaddEntry(Stab *stab, char *name, void *ep); | ||
SOMEXTERN void * SOMLINK somtaddEntrySL(Stab *stab, char *name, void *ep); | SOMEXTERN void * SOMLINK somtaddEntrySL(Stab *stab, char *name, void *ep); | ||
Line 1498: | Line 1498: | ||
===== somtgetEntry, | ===== somtgetEntry, | ||
- | < | + | < |
SOMEXTERN void * somtgetEntry(Stab *stab, char *name); | SOMEXTERN void * somtgetEntry(Stab *stab, char *name); | ||
SOMEXTERN void * SOMLINK somtgetEntrySL(Stab *stab, char *name); | SOMEXTERN void * SOMLINK somtgetEntrySL(Stab *stab, char *name); | ||
Line 1509: | Line 1509: | ||
===== somtstabFirst, | ===== somtstabFirst, | ||
- | < | + | < |
SOMEXTERN void * somtstabFirst(Stab *stab, Sep **sepp); | SOMEXTERN void * somtstabFirst(Stab *stab, Sep **sepp); | ||
SOMEXTERN void * SOMLINK somtstabFirstSL(Stab *stab, Sep **sepp); | SOMEXTERN void * SOMLINK somtstabFirstSL(Stab *stab, Sep **sepp); | ||
Line 1520: | Line 1520: | ||
===== somtstabNext, | ===== somtstabNext, | ||
- | < | + | < |
SOMEXTERN void * somtstabNext(Stab *stab, Sep **sepp); | SOMEXTERN void * somtstabNext(Stab *stab, Sep **sepp); | ||
SOMEXTERN void * SOMLINK somtstabNextSL(Stab *stab, Sep **sepp); | SOMEXTERN void * SOMLINK somtstabNextSL(Stab *stab, Sep **sepp); | ||
Line 1531: | Line 1531: | ||
===== somtstabFirstName, | ===== somtstabFirstName, | ||
- | < | + | < |
SOMEXTERN void * somtstabFirstName(Stab *stab, char *name, Sep **sepp); | SOMEXTERN void * somtstabFirstName(Stab *stab, char *name, Sep **sepp); | ||
SOMEXTERN void * SOMLINK somtstabFirstNameSL(Stab *stab, char *name, Sep **sepp); | SOMEXTERN void * SOMLINK somtstabFirstNameSL(Stab *stab, char *name, Sep **sepp); | ||
Line 1542: | Line 1542: | ||
===== somtstabNextName, | ===== somtstabNextName, | ||
- | < | + | < |
SOMEXTERN void * somtstabNextName(Stab *stab, Sep **sepp); | SOMEXTERN void * somtstabNextName(Stab *stab, Sep **sepp); | ||
SOMEXTERN void * SOMLINK somtstabNextNameSL(Stab *stab, Sep **sepp); | SOMEXTERN void * SOMLINK somtstabNextNameSL(Stab *stab, Sep **sepp); | ||
Line 1562: | Line 1562: | ||
===== somtcreateStab, | ===== somtcreateStab, | ||
- | < | + | < |
SOMEXTERN void somtcreateStab(Stab *stab, long stabsize, long entrysize); | SOMEXTERN void somtcreateStab(Stab *stab, long stabsize, long entrysize); | ||
SOMEXTERN void SOMLINK somtcreateStabSL(Stab *stab, long stabsize, long entrysize); | SOMEXTERN void SOMLINK somtcreateStabSL(Stab *stab, long stabsize, long entrysize); | ||
Line 1573: | Line 1573: | ||
===== somticstrcmp, | ===== somticstrcmp, | ||
- | < | + | < |
SOMEXTERN int somticstrcmp(char *s, char *t) | SOMEXTERN int somticstrcmp(char *s, char *t) | ||
SOMEXTERN int SOMLINK somticstrcmpSL(char *s, char *t); | SOMEXTERN int SOMLINK somticstrcmpSL(char *s, char *t); | ||
Line 1584: | Line 1584: | ||
===== somtaddEntryBuf, | ===== somtaddEntryBuf, | ||
- | < | + | < |
SOMEXTERN void * somtaddEntryBuf(Stab *stab, char *name, void *ep, void *buf, size_t len); | SOMEXTERN void * somtaddEntryBuf(Stab *stab, char *name, void *ep, void *buf, size_t len); | ||
SOMEXTERN void * SOMLINK somtaddEntryBufSL(Stab *stab, char *name, void *ep, void *buf, size_t len); | SOMEXTERN void * SOMLINK somtaddEntryBufSL(Stab *stab, char *name, void *ep, void *buf, size_t len); | ||
Line 1608: | Line 1608: | ||
=== somtIsReadonly attribute === | === somtIsReadonly attribute === | ||
- | < | + | < |
readonly attribute boolean somtIsReadonly; | readonly attribute boolean somtIsReadonly; | ||
</ | </ |