#include "NewtType.h"
マクロ定義 | |
| #define | NcLoadLib(r) NsLoadLib(kNewtRefNIL, r) |
| #define | NcLoad(r) NsLoad(kNewtRefNIL, r) |
| #define | NcRequire(r) NsRequire(kNewtRefNIL, r) |
| #define | NcFileExists(r) NsFileExists(kNewtRefNIL, r) |
| #define | NcDirName(r) NsDirName(kNewtRefNIL, r) |
| #define | NcBaseName(r) NsBaseName(kNewtRefNIL, r) |
| #define | NcJoinPath(r1, r2) NsJoinPath(kNewtRefNIL, r1, r2) |
| #define | NcExpandPath(r) NsExpandPath(kNewtRefNIL, r) |
関数 | |
| void * | NewtDylibInstall (const char *fname) |
| bool | NewtFileExists (char *path) |
| char | NewtGetFileSeparator (void) |
| char * | NewtGetHomeDir (const char *s, char **subdir) |
| char * | NewtRelToAbsPath (char *s) |
| char * | NewtJoinPath (char *s1, char *s2, char sep) |
| newtRef | NewtExpandPath (const char *s) |
| char * | NewtBaseName (char *s, uint32_t len) |
| newtRef | NsCompileFile (newtRefArg rcvr, newtRefArg r) |
| newtRef | NsLoadLib (newtRefArg rcvr, newtRefArg r) |
| newtRef | NsLoad (newtRefArg rcvr, newtRefArg r) |
| newtRef | NcRequire0 (newtRefArg r) |
| newtRef | NsRequire (newtRefArg rcvr, newtRefArg r) |
| newtRef | NsFileExists (newtRefArg rcvr, newtRefArg r) |
| newtRef | NsDirName (newtRefArg rcvr, newtRefArg r) |
| newtRef | NsBaseName (newtRefArg rcvr, newtRefArg r) |
| newtRef | NsJoinPath (newtRefArg rcvr, newtRefArg r1, newtRefArg r2) |
| newtRef | NsExpandPath (newtRefArg rcvr, newtRefArg r) |
NewtFile.h で定義されています。
| newtRef NcRequire0 | ( | newtRefArg | r | ) |
ライブラリの要求
| r | [in] ロードするライブラリのシンボル文字列 |
NewtFile.c の 488 行で定義されています。
参照先 __DYLIBSUFFIX__・kNErrNotASymbol・kNewtRefNIL・kNewtRefUnbind・NcDefGlobalVar・NcGetGlobalVar・NcGetVariable・NcJoinPath・NcLoad・NcLoadLib・NcMakeFrame・NcMakeSymbol・NcSetSlot・NcStringer()・NewtFileExists()・NewtGetArraySlot()・NewtHasSlot()・NewtLength()・NewtMakeArray2()・NewtRefIsFrame()・NewtRefIsNIL()・NewtRefIsString()・NewtRefIsSymbol()・NewtRefToString・NewtSetArraySlot()・NewtThrow()・NSSTR・NSSYM0.
参照元 NsRequire()・NVMInit().
関数の呼び出しグラフ:

| char* NewtBaseName | ( | char * | s, | |
| uint32_t | len | |||
| ) |
パスからファイル名を取出す
| s | [in] パスへのポインタ | |
| len | [in] パスの文字数 |
NewtFile.c の 363 行で定義されています。
参照元 NsBaseName()・NsDirName().
関数の呼び出しグラフ:

| newtRef NewtExpandPath | ( | const char * | s | ) |
相対パスを絶対パスに展開する
| s | [in] 相対パス(C文字列) |
NewtFile.c の 294 行で定義されています。
参照先 kNewtRefUnbind・NewtGetFileSeparator()・NewtGetHomeDir()・NewtJoinPath()・NewtRelToAbsPath()・NSSTR.
参照元 NewtInitARGV()・NsExpandPath().
関数の呼び出しグラフ:

| bool NewtFileExists | ( | char * | path | ) |
| char NewtGetFileSeparator | ( | void | ) |
ファイルセパレータを返す
NewtFile.c の 123 行で定義されています。
参照元 NewtBaseName()・NewtExpandPath()・NewtInitARGV()・NewtRelToAbsPath()・NsDirName()・NsJoinPath().
| char* NewtGetHomeDir | ( | const char * | s, | |
| char ** | subdir | |||
| ) |
ホームディレクトリのパスを取得
| s | [in] ファイルのパス | |
| subdir | [out]サブディレクトリ |
NewtFile.c の 185 行で定義されています。
参照元 NewtExpandPath().
| char* NewtJoinPath | ( | char * | s1, | |
| char * | s2, | |||
| char | sep | |||
| ) |
ディレクトリ名とファイル名からパスを作成
| s1 | [in] ディレクトリ名 | |
| s2 | [in] ファイル名 | |
| sep | [in] ファイルセパレータ |
NewtFile.c の 205 行で定義されています。
参照元 NewtExpandPath().
| char* NewtRelToAbsPath | ( | char * | s | ) |
相対パスを絶対パスに展開する
| s | [i/o]相対パス→絶対パス |
NewtFile.c の 237 行で定義されています。
参照元 NewtExpandPath().
関数の呼び出しグラフ:

| newtRef NsBaseName | ( | newtRefArg | rcvr, | |
| newtRefArg | r | |||
| ) |
パスからファイル名を取出す
| rcvr | [in] レシーバ | |
| r | [in] ファイルのパス |
NewtFile.c の 686 行で定義されています。
参照先 kNErrNotAString・NewtBaseName()・NewtRefIsString()・NewtRefToString・NewtStringLength()・NewtThrow()・NSSTR.
参照元 NVMInitExGlobalFns().
関数の呼び出しグラフ:

| newtRef NsCompileFile | ( | newtRefArg | rcvr, | |
| newtRefArg | r | |||
| ) |
ソースファイルのコンパイル
| rcvr | [in] レシーバ | |
| r | [in] コンパイルするソースファイルのパス |
NewtFile.c の 394 行で定義されています。
参照先 kNErrNotAString・NBCCompileFile()・NewtRefIsString()・NewtRefToString・NewtThrow().
参照元 NsLoad()・NVMInitExGlobalFns().
関数の呼び出しグラフ:

| newtRef NsDirName | ( | newtRefArg | rcvr, | |
| newtRefArg | r | |||
| ) |
パスからディレクトリ名を取出す
| rcvr | [in] レシーバ | |
| r | [in] ファイルのパス |
NewtFile.c の 649 行で定義されています。
参照先 kNErrNotAString・NewtBaseName()・NewtGetFileSeparator()・NewtMakeString2()・NewtRefIsString()・NewtRefToString・NewtStringLength()・NewtThrow()・NSSTR.
参照元 NVMInitExGlobalFns().
関数の呼び出しグラフ:

| newtRef NsExpandPath | ( | newtRefArg | rcvr, | |
| newtRefArg | r | |||
| ) |
相対パスを絶対パスに展開する
| rcvr | [in] レシーバ | |
| r | [in] 相対パス |
NewtFile.c の 736 行で定義されています。
参照先 kNErrNotAString・NewtExpandPath()・NewtRefIsString()・NewtRefToString・NewtThrow().
参照元 NVMInitExGlobalFns().
関数の呼び出しグラフ:

| newtRef NsFileExists | ( | newtRefArg | rcvr, | |
| newtRefArg | r | |||
| ) |
ファイルの存在確認
| rcvr | [in] レシーバ | |
| r | [in] ファイルのパス |
| true | ファイルが存在する | |
| false | ファイルが存在しない |
NewtFile.c の 630 行で定義されています。
参照先 kNErrNotAString・NewtFileExists()・NewtMakeBoolean・NewtRefIsString()・NewtRefToString・NewtThrow().
参照元 NVMInitExGlobalFns().
関数の呼び出しグラフ:

| newtRef NsJoinPath | ( | newtRefArg | rcvr, | |
| newtRefArg | r1, | |||
| newtRefArg | r2 | |||
| ) |
ディレクトリ名とファイル名からパスを作成
| rcvr | [in] レシーバ | |
| r1 | [in] ディレクトリ名 | |
| r2 | [in] ファイル名 |
NewtFile.c の 712 行で定義されています。
参照先 kNewtRefNIL・NcStringer()・NewtGetFileSeparator()・NewtMakeArray2()・NewtMakeCharacter.
参照元 NVMInitExGlobalFns().
関数の呼び出しグラフ:

| newtRef NsLoad | ( | newtRefArg | rcvr, | |
| newtRefArg | r | |||
| ) |
ソースファイルのロード
| rcvr | [in] レシーバ | |
| r | [in] ロードするソースファイルのパス |
NewtFile.c の 461 行で定義されています。
参照先 kNewtRefUnbind・NewtRefIsNotNIL・NsCompileFile()・NVMCall().
参照元 NVMInitExGlobalFns().
関数の呼び出しグラフ:

| newtRef NsRequire | ( | newtRefArg | rcvr, | |
| newtRefArg | r | |||
| ) |
ライブラリの要求
| rcvr | [in] レシーバ | |
| r | [in] ロードするライブラリのシンボル文字列 |
NewtFile.c の 604 行で定義されています。
参照先 kNErrFileNotFound・kNewtRefUnbind・NcRequire0()・NewtThrow().
参照元 NVMInitExGlobalFns().
関数の呼び出しグラフ:

1.5.0