mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-13 03:29:16 -04:00
normalize header guards to {tu_name}_H_ (#87)
i previously had a bad habit of using double underscores in include guard macro names, which are implementation-reserved per the C++98 standard (see 17.4.3.1.2 Global names). Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef F_OP_ACTOR_TAG_H
|
||||
#define F_OP_ACTOR_TAG_H
|
||||
#ifndef F_OP_ACTOR_TAG_H_
|
||||
#define F_OP_ACTOR_TAG_H_
|
||||
|
||||
#include "SComponent/c_tag.h"
|
||||
#include "global.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_BASE_H
|
||||
#define F_PC_BASE_H
|
||||
#ifndef F_PC_BASE_H_
|
||||
#define F_PC_BASE_H_
|
||||
|
||||
#include "SComponent/c_tag.h"
|
||||
#include "global.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_CREATE_ITER_H
|
||||
#define F_PC_CREATE_ITER_H
|
||||
#ifndef F_PC_CREATE_ITER_H_
|
||||
#define F_PC_CREATE_ITER_H_
|
||||
|
||||
#include "SComponent/c_list_iter.h"
|
||||
#include "SComponent/c_tag_iter.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_CREATE_REQ_H
|
||||
#define F_PC_CREATE_REQ_H
|
||||
#ifndef F_PC_CREATE_REQ_H_
|
||||
#define F_PC_CREATE_REQ_H_
|
||||
|
||||
#include "SComponent/c_phase.h"
|
||||
#include "SComponent/c_tag.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_CREATE_TAG_H
|
||||
#define F_PC_CREATE_TAG_H
|
||||
#ifndef F_PC_CREATE_TAG_H_
|
||||
#define F_PC_CREATE_TAG_H_
|
||||
|
||||
#include "SComponent/c_tag.h"
|
||||
#include "global.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_CREATOR_H
|
||||
#define F_PC_CREATOR_H
|
||||
#ifndef F_PC_CREATOR_H_
|
||||
#define F_PC_CREATOR_H_
|
||||
|
||||
#include "global.h"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_DELETE_TAG_H
|
||||
#define F_PC_DELETE_TAG_H
|
||||
#ifndef F_PC_DELETE_TAG_H_
|
||||
#define F_PC_DELETE_TAG_H_
|
||||
|
||||
#include "SComponent/c_tag.h"
|
||||
#include "f/f_pc/f_pc_layer.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_DELETOR_H
|
||||
#define F_PC_DELETOR_H
|
||||
#ifndef F_PC_DELETOR_H_
|
||||
#define F_PC_DELETOR_H_
|
||||
|
||||
#include "f/f_pc/f_pc_base.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef F_PC_DRAW_H
|
||||
#define F_PC_DRAW_H
|
||||
#ifndef F_PC_DRAW_H_
|
||||
#define F_PC_DRAW_H_
|
||||
|
||||
#include "SComponent/c_node_iter.h"
|
||||
#include "f/f_pc/f_pc_base.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_DRAW_PRIORITY_H
|
||||
#define F_PC_DRAW_PRIORITY_H
|
||||
#ifndef F_PC_DRAW_PRIORITY_H_
|
||||
#define F_PC_DRAW_PRIORITY_H_
|
||||
|
||||
#include "global.h"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_EXECUTOR_H
|
||||
#define F_PC_EXECUTOR_H
|
||||
#ifndef F_PC_EXECUTOR_H_
|
||||
#define F_PC_EXECUTOR_H_
|
||||
|
||||
#include "SComponent/c_node_iter.h"
|
||||
#include "f/f_pc/f_pc_base.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef F_PC_FSTCREATE_REQ_H
|
||||
#define F_PC_FSTCREATE_REQ_H
|
||||
#ifndef F_PC_FSTCREATE_REQ_H_
|
||||
#define F_PC_FSTCREATE_REQ_H_
|
||||
|
||||
#include "f/f_pc/f_pc_base.h"
|
||||
#include "f/f_pc/f_pc_create_req.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_LAYER_H
|
||||
#define F_PC_LAYER_H
|
||||
#ifndef F_PC_LAYER_H_
|
||||
#define F_PC_LAYER_H_
|
||||
|
||||
#include "SComponent/c_node.h"
|
||||
#include "SComponent/c_tag.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef F_PC_LAYER_ITER_H
|
||||
#define F_PC_LAYER_ITER_H
|
||||
#ifndef F_PC_LAYER_ITER_H_
|
||||
#define F_PC_LAYER_ITER_H_
|
||||
|
||||
#include "SComponent/c_node_iter.h"
|
||||
#include "f/f_pc/f_pc_layer.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_LAYER_TAG_H
|
||||
#define F_PC_LAYER_TAG_H
|
||||
#ifndef F_PC_LAYER_TAG_H_
|
||||
#define F_PC_LAYER_TAG_H_
|
||||
|
||||
#include "SComponent/c_tag.h"
|
||||
#include "f/f_pc/f_pc_layer.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_LEAF_H
|
||||
#define F_PC_LEAF_H
|
||||
#ifndef F_PC_LEAF_H_
|
||||
#define F_PC_LEAF_H_
|
||||
|
||||
#include "f/f_pc/f_pc_base.h"
|
||||
#include "f/f_pc/f_pc_draw_priority.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef F_PC_LINE_H
|
||||
#define F_PC_LINE_H
|
||||
#ifndef F_PC_LINE_H_
|
||||
#define F_PC_LINE_H_
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_LINE_ITER_H
|
||||
#define F_PC_LINE_ITER_H
|
||||
#ifndef F_PC_LINE_ITER_H_
|
||||
#define F_PC_LINE_ITER_H_
|
||||
|
||||
#include "SComponent/c_node_iter.h"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_LINE_TAG_H
|
||||
#define F_PC_LINE_TAG_H
|
||||
#ifndef F_PC_LINE_TAG_H_
|
||||
#define F_PC_LINE_TAG_H_
|
||||
|
||||
#include "SComponent/c_tag.h"
|
||||
#include "global.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_LOAD_H
|
||||
#define F_PC_LOAD_H
|
||||
#ifndef F_PC_LOAD_H_
|
||||
#define F_PC_LOAD_H_
|
||||
|
||||
#include "global.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef F_PC_MANAGER_H
|
||||
#define F_PC_MANAGER_H
|
||||
#ifndef F_PC_MANAGER_H_
|
||||
#define F_PC_MANAGER_H_
|
||||
|
||||
#include "SComponent/c_node_iter.h"
|
||||
#include "SComponent/c_tag.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_METHOD_H
|
||||
#define F_PC_METHOD_H
|
||||
#ifndef F_PC_METHOD_H_
|
||||
#define F_PC_METHOD_H_
|
||||
|
||||
#include "global.h"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_METHOD_ITER_H
|
||||
#define F_PC_METHOD_ITER_H
|
||||
#ifndef F_PC_METHOD_ITER_H_
|
||||
#define F_PC_METHOD_ITER_H_
|
||||
|
||||
#include "SComponent/c_list_iter.h"
|
||||
#include "global.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_METHOD_TAG_H
|
||||
#define F_PC_METHOD_TAG_H
|
||||
#ifndef F_PC_METHOD_TAG_H_
|
||||
#define F_PC_METHOD_TAG_H_
|
||||
|
||||
#include "SComponent/c_tag.h"
|
||||
#include "global.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_NODE_H
|
||||
#define F_PC_NODE_H
|
||||
#ifndef F_PC_NODE_H_
|
||||
#define F_PC_NODE_H_
|
||||
|
||||
#include "f/f_pc/f_pc_base.h"
|
||||
#include "f/f_pc/f_pc_layer.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef F_PC_NODE_REQ_H
|
||||
#define F_PC_NODE_REQ_H
|
||||
#ifndef F_PC_NODE_REQ_H_
|
||||
#define F_PC_NODE_REQ_H_
|
||||
|
||||
#include "SComponent/c_phase.h"
|
||||
#include "f/f_pc/f_pc_method.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef F_PC_PAUSE
|
||||
#define F_PC_PAUSE
|
||||
#ifndef F_PC_PAUSE_
|
||||
#define F_PC_PAUSE_
|
||||
|
||||
#include "f/f_pc/f_pc_base.h"
|
||||
#include "f/f_pc/f_pc_node.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_PRIORITY_H
|
||||
#define F_PC_PRIORITY_H
|
||||
#ifndef F_PC_PRIORITY_H_
|
||||
#define F_PC_PRIORITY_H_
|
||||
|
||||
#include "SComponent/c_tag.h"
|
||||
#include "f/f_pc/f_pc_method_tag.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_PROFILE_H
|
||||
#define F_PC_PROFILE_H
|
||||
#ifndef F_PC_PROFILE_H_
|
||||
#define F_PC_PROFILE_H_
|
||||
|
||||
#include "f/f_pc/f_pc_method.h"
|
||||
#include "global.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef F_PC_SEARCHER_H
|
||||
#define F_PC_SEARCHER_H
|
||||
#ifndef F_PC_SEARCHER_H_
|
||||
#define F_PC_SEARCHER_H_
|
||||
|
||||
#include "f/f_pc/f_pc_base.h"
|
||||
#include "global.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef F_PC_STDCREATE_H
|
||||
#define F_PC_STDCREATE_H
|
||||
#ifndef F_PC_STDCREATE_H_
|
||||
#define F_PC_STDCREATE_H_
|
||||
|
||||
#include "f/f_pc/f_pc_create_req.h"
|
||||
#include "f/f_pc/f_pc_layer.h"
|
||||
|
||||
Reference in New Issue
Block a user