Make header C compatible

This commit is contained in:
Maschell 2022-09-16 21:03:28 +02:00
parent 9d319dcd0d
commit 780af2d5b6

View File

@ -7,9 +7,7 @@
extern "C" { extern "C" {
#endif #endif
#include <cstdint> typedef enum FSLayerType {
enum FSLayerType {
/* Redirects the /vol/content to a given path. /* Redirects the /vol/content to a given path.
* Existing files in /vol/content will be ignored, only files of the layer (provided via the replacementDir) will be used. * Existing files in /vol/content will be ignored, only files of the layer (provided via the replacementDir) will be used.
*/ */
@ -34,7 +32,7 @@ enum FSLayerType {
* Existing files in /vol/save will be ignored, only files in the layer (provided via the replacementDir) will be used. * Existing files in /vol/save will be ignored, only files in the layer (provided via the replacementDir) will be used.
*/ */
FS_LAYER_TYPE_SAVE_REPLACE, FS_LAYER_TYPE_SAVE_REPLACE,
}; } FSLayerType;
typedef enum ContentRedirectionStatus { typedef enum ContentRedirectionStatus {
CONTENT_REDIRECTION_RESULT_SUCCESS = 0, CONTENT_REDIRECTION_RESULT_SUCCESS = 0,