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