mirror of
https://gittea.dev/nova/th.git
synced 2025-10-22 02:40:15 -04:00
created dir.c & .h, improved header file handling
This commit is contained in:
13
config.h
13
config.h
@@ -1,7 +1,10 @@
|
||||
#ifndef CONFIG_GUARD
|
||||
#define CONFIG_GUARD
|
||||
#include "defines.h"
|
||||
#include "interactions.h"
|
||||
#include "sorting.h"
|
||||
#include "interactions.h"
|
||||
|
||||
#define SETTINGS_LINE_NUMBERS 2 /* 0 is disabled, 1 is enabled, 2 is relative */
|
||||
|
||||
static const mimetype mimetype_default_cmd[] = {
|
||||
/* mimetype shell command
|
||||
@@ -90,4 +93,12 @@ static const binding key_binding[] = {
|
||||
static const unsigned long binding_count = sizeof(key_binding) / sizeof(binding);
|
||||
static const unsigned long mimetype_default_count = sizeof(mimetype_default_cmd) / sizeof(mimetype);
|
||||
static const unsigned long file_extension_default_count = sizeof(file_extension_default_cmd) / sizeof(extension);
|
||||
#else
|
||||
static const mimetype mimetype_default_cmd[];
|
||||
static const extension file_extension_default_cmd[];
|
||||
static const binding key_binding[];
|
||||
static const unsigned long binding_count;
|
||||
static const unsigned long mimetype_default_count;
|
||||
static const unsigned long file_extension_default_count;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user