summaryrefslogtreecommitdiff
path: root/command_line/CmdLine/Src/Project/CLFiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'command_line/CmdLine/Src/Project/CLFiles.c')
-rw-r--r--command_line/CmdLine/Src/Project/CLFiles.c19
1 files changed, 7 insertions, 12 deletions
diff --git a/command_line/CmdLine/Src/Project/CLFiles.c b/command_line/CmdLine/Src/Project/CLFiles.c
index 6953df1..e651c73 100644
--- a/command_line/CmdLine/Src/Project/CLFiles.c
+++ b/command_line/CmdLine/Src/Project/CLFiles.c
@@ -30,8 +30,7 @@ void File_Free(File *file) {
}
Boolean Files_Initialize(Files *this) {
-#line 47
- OPTION_ASSERT(this != NULL);
+ OS_ASSERT(47, this != NULL);
return 1;
}
@@ -39,8 +38,7 @@ Boolean Files_Terminate(Files *this) {
File *file;
File *next;
-#line 56
- OPTION_ASSERT(this != NULL);
+ OS_ASSERT(56, this != NULL);
for (file = this->fileList; file; file = next) {
next = file->next;
@@ -57,9 +55,8 @@ Boolean Files_AddFile(Files *this, File *file) {
Boolean Files_InsertFile(Files *this, File *file, SInt32 position) {
File **scan;
-#line 80
- OPTION_ASSERT(this != NULL);
- OPTION_ASSERT(file != NULL);
+ OS_ASSERT(80, this != NULL);
+ OS_ASSERT(81, file != NULL);
if (position < 0)
position = 0;
@@ -81,9 +78,8 @@ Boolean Files_InsertFile(Files *this, File *file, SInt32 position) {
File *Files_GetFile(Files *this, SInt32 filenum) {
File *file;
-#line 104
- OPTION_ASSERT(this != NULL);
- OPTION_ASSERT(filenum >= 0);
+ OS_ASSERT(104, this != NULL);
+ OS_ASSERT(105, filenum >= 0);
file = this->fileList;
while (file && file->filenum != filenum)
@@ -101,8 +97,7 @@ File *Files_FindFile(Files *this, OSSpec *spec) {
}
int Files_Count(Files *this) {
-#line 127
- OPTION_ASSERT(this != NULL);
+ OS_ASSERT(127, this != NULL);
return this->fileCount;
}