Cleanup: headers, use 'pragma once', remove argument to '\file'

This commit is contained in:
Campbell Barton 2021-07-30 22:29:30 +10:00
parent 5aa45c43f2
commit c8b7745172
5 changed files with 11 additions and 17 deletions

View File

@ -15,12 +15,12 @@
*/
#pragma once
#include <stddef.h>
/** \file
* \ingroup bli
*/
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -17,8 +17,8 @@
* All rights reserved.
*/
/** \file snap3d_gizmo.c
* \ingroup edgizmolib
/** \file
* \ingroup edgizmolib
*
* \name Snap Gizmo
*

View File

@ -17,13 +17,12 @@
* All rights reserved.
*/
#ifndef __IO_GPENCIL_H__
#define __IO_GPENCIL_H__
/** \file
* \ingroup editor/io
*/
#pragma once
struct ARegion;
struct View3D;
struct bContext;
@ -40,5 +39,3 @@ void WM_OT_gpencil_export_pdf(struct wmOperatorType *ot);
struct ARegion *get_invoke_region(struct bContext *C);
struct View3D *get_invoke_view3d(struct bContext *C);
#endif /* __IO_GPENCIL_H__ */

View File

@ -25,11 +25,10 @@
* ***** END GPL LICENSE BLOCK *****
*/
#ifndef __DNA_LRT_TYPES_H__
#define __DNA_LRT_TYPES_H__
#pragma once
/** \file DNA_lineart_types.h
* \ingroup DNA
/** \file
* \ingroup DNA
*/
#include "DNA_ID.h"
@ -71,5 +70,3 @@ typedef enum eLineartEdgeFlag {
} eLineartEdgeFlag;
#define LRT_EDGE_FLAG_ALL_TYPE 0x3f
#endif

View File

@ -25,8 +25,8 @@
* ***** END GPL LICENSE BLOCK *****
*/
/** \file blender/nodes/composite/nodes/node_composite_antialiasing.c
* \ingroup cmpnodes
/** \file
* \ingroup cmpnodes
*/
#include "node_composite_util.h"