|
Assembled 2
A column based text editor
|
#include <bits/time.h>#include <sys/stat.h>#include <curses.h>#include <ncurses.h>#include <pwd.h>#include <locale.h>#include <signal.h>#include <time.h>#include <math.h>#include <dirent.h>#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <stddef.h>#include <stdbool.h>#include <ctype.h>#include <string.h>Go to the source code of this file.
Macros | |
| #define | AS_DEBUG_CODE(code) |
| #define | AS_DEBUG_MSG(...) |
Variables | |
| FILE * | __AS_DBG_LOG_FILE__ |
Assembled - Column based text editor Copyright (C) 2023-2024 awewsomegamer
This file is apart of Assembled.
Assembled is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
This file contains some includes which need to be separate from global.h.
| #define AS_DEBUG_CODE | ( | code | ) |
Execute the given code if AS_DEBUG_ENABLE is defined.
| #define AS_DEBUG_MSG | ( | ... | ) |
Print the given __VA_ARGS__ in a formatted debug message into __AS_DBG_LOG_FILE__ if AS_DEBUG_ENABLE is defined.
|
extern |
The current debugging file.
Debug log file pointer.
This file is only used if Assembled is compiled with AS_DEBUG_ENABLE defined. This can be acheived through adding the debug target to the make command. make debug