RagePhotoData: change struct to a C typedef struct

This commit is contained in:
Syping 2023-01-07 22:09:35 +01:00
parent f0a0580682
commit f99456cb63
1 changed files with 3 additions and 8 deletions

View File

@ -19,13 +19,9 @@
#ifndef RAGEPHOTODATA_H
#define RAGEPHOTODATA_H
#ifdef __cplusplus
#include "libragephoto_global.h"
#include <iostream>
#include <cstdint>
#include "stdint.h"
struct LIBRAGEPHOTO_CXX_EXPORT RagePhotoData
{
typedef struct RagePhotoData {
char* photoData;
char* description;
char* json;
@ -45,7 +41,6 @@ struct LIBRAGEPHOTO_CXX_EXPORT RagePhotoData
uint32_t titlOffset;
uint32_t unnamedSum1;
uint32_t unnamedSum2;
};
#endif // __cplusplus
} RagePhotoData;
#endif // RAGEPHOTODATA_H