Skip to content

Commit

Permalink
RagePhotoData: make it clear that RagePhotoData is a C type struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Syping committed Jan 11, 2023
1 parent 1173db1 commit 8e73219
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/RagePhotoData.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@

#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif // __cplusplus

typedef struct RagePhotoData {
char* jpeg;
char* description;
Expand All @@ -43,4 +47,8 @@ typedef struct RagePhotoData {
uint32_t unnamedSum2;
} RagePhotoData;

#ifdef __cplusplus
}
#endif // __cplusplus

#endif // RAGEPHOTODATA_H

0 comments on commit 8e73219

Please sign in to comment.