move API defines to the top

updatetemplate
cosmonaut 2022-03-03 17:31:33 -08:00
parent 6302603b08
commit 435f56f6b7
1 changed files with 14 additions and 14 deletions

View File

@ -52,6 +52,20 @@
extern "C" { extern "C" {
#endif /* __cplusplus */ #endif /* __cplusplus */
/* Version API */
#define REFRESH_MAJOR_VERSION 1
#define REFRESH_MINOR_VERSION 0
#define REFRESH_PATCH_VERSION 0
#define REFRESH_COMPILED_VERSION ( \
(REFRESH_MAJOR_VERSION * 100 * 100) + \
(REFRESH_MINOR_VERSION * 100) + \
(REFRESH_PATCH_VERSION) \
)
REFRESHAPI uint32_t Refresh_LinkedVersion(void);
/* Type Declarations */ /* Type Declarations */
typedef struct Refresh_Device Refresh_Device; typedef struct Refresh_Device Refresh_Device;
@ -567,20 +581,6 @@ typedef struct Refresh_DepthStencilAttachmentInfo
Refresh_StoreOp stencilStoreOp; Refresh_StoreOp stencilStoreOp;
} Refresh_DepthStencilAttachmentInfo; } Refresh_DepthStencilAttachmentInfo;
/* Version API */
#define REFRESH_MAJOR_VERSION 1
#define REFRESH_MINOR_VERSION 0
#define REFRESH_PATCH_VERSION 0
#define REFRESH_COMPILED_VERSION ( \
(REFRESH_MAJOR_VERSION * 100 * 100) + \
(REFRESH_MINOR_VERSION * 100) + \
(REFRESH_PATCH_VERSION) \
)
REFRESHAPI uint32_t Refresh_LinkedVersion(void);
/* Functions */ /* Functions */
/* Logging */ /* Logging */