Skip to content

Commit

Permalink
Fix #916
Browse files Browse the repository at this point in the history
  • Loading branch information
romainthomas committed May 28, 2023
1 parent ac98429 commit b9a5f97
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion api/c/include/LIEF/ELF.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#ifndef C_LIEF_ELF_H_
#define C_LIEF_ELF_H_

//! @defgroup elf_c_api ELF C API
/** @defgroup elf_c_api ELF C API */

#include "LIEF/ELF/Binary.h"
#include "LIEF/ELF/Symbol.h"
Expand Down
6 changes: 3 additions & 3 deletions api/c/include/LIEF/ELF/enums.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
extern "C" {
#endif

#define _LIEF_EN(N) LIEF_ELF_##N // enum LIEF_N {
#define _LIEF_EN_2(N, TYPE) LIEF_ELF_##N // enum LIEF_N {
#define _LIEF_EI(X) LIEF_ELF_##X // LIEF_X
#define _LIEF_EN(N) LIEF_ELF_##N
#define _LIEF_EN_2(N, TYPE) LIEF_ELF_##N
#define _LIEF_EI(X) LIEF_ELF_##X

#include "LIEF/ELF/enums.inc"

Expand Down
2 changes: 1 addition & 1 deletion api/c/include/LIEF/MachO.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#ifndef C_LIEF_MACHO_H_
#define C_LIEF_MACHO_H_

//! @defgroup macho_c_api MachO C API
/** @defgroup macho_c_api MachO C API */

#include "LIEF/MachO/Binary.h"
#include "LIEF/MachO/Symbol.h"
Expand Down
6 changes: 3 additions & 3 deletions api/c/include/LIEF/MachO/enums.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ extern "C" {
#undef _LIEF_EI
#endif

#define _LIEF_EN(N) LIEF_MACHO_##N // enum LIEF_N {
#define _LIEF_EN_2(N, TYPE) LIEF_MACHO_##N // enum LIEF_N {
#define _LIEF_EI(X) LIEF_MACHO_##X // LIEF_X
#define _LIEF_EN(N) LIEF_MACHO_##N
#define _LIEF_EN_2(N, TYPE) LIEF_MACHO_##N
#define _LIEF_EI(X) LIEF_MACHO_##X

#include "LIEF/MachO/enums.inc"

Expand Down
2 changes: 1 addition & 1 deletion api/c/include/LIEF/PE.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#ifndef C_LIEF_PE_H_
#define C_LIEF_PE_H_

//! @defgroup pe_c_api PE C API
/** @defgroup pe_c_api PE C API */

#include "LIEF/PE/Binary.h"
#include "LIEF/PE/EnumToString.h"
Expand Down
6 changes: 3 additions & 3 deletions api/c/include/LIEF/PE/enums.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
extern "C" {
#endif

#define _LIEF_EN(N) LIEF_PE_##N // enum LIEF_N {
#define _LIEF_EN_2(N, TYPE) LIEF_PE_##N // enum LIEF_N {
#define _LIEF_EI(X) LIEF_PE_##X // LIEF_X
#define _LIEF_EN(N) LIEF_PE_##N
#define _LIEF_EN_2(N, TYPE) LIEF_PE_##N
#define _LIEF_EI(X) LIEF_PE_##X

#include "LIEF/PE/enums.inc"

Expand Down

0 comments on commit b9a5f97

Please sign in to comment.