mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-08 14:10:40 +01:00
acp: Add missing extern "C"
declarations to allow usage in C++
This commit is contained in:
parent
5d44ce12fb
commit
599775e83a
@ -8,9 +8,17 @@
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef int32_t ACPDeviceType;
|
||||
|
||||
ACPResult
|
||||
ACPCheckApplicationDeviceEmulation(BOOL* emulation);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
|
@ -11,6 +11,10 @@
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
ACPResult
|
||||
ACPCreateSaveDir(uint32_t persistentId,
|
||||
ACPDeviceType deviceType);
|
||||
@ -33,4 +37,8 @@ ACPUnmountExternalStorage();
|
||||
ACPResult
|
||||
ACPUnmountSaveDir();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
|
@ -11,6 +11,10 @@
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef uint64_t ACPTitleId;
|
||||
typedef struct ACPMetaXml ACPMetaXml;
|
||||
|
||||
@ -244,4 +248,8 @@ ACPGetTitleMetaDirByDevice(ACPTitleId titleId,
|
||||
size_t directoryLen,
|
||||
ACPDeviceType deviceType);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
|
Loading…
Reference in New Issue
Block a user