mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-09 13:49:24 +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;
|
typedef int32_t ACPDeviceType;
|
||||||
|
|
||||||
ACPResult
|
ACPResult
|
||||||
ACPCheckApplicationDeviceEmulation(BOOL* emulation);
|
ACPCheckApplicationDeviceEmulation(BOOL* emulation);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
@ -11,6 +11,10 @@
|
|||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
ACPResult
|
ACPResult
|
||||||
ACPCreateSaveDir(uint32_t persistentId,
|
ACPCreateSaveDir(uint32_t persistentId,
|
||||||
ACPDeviceType deviceType);
|
ACPDeviceType deviceType);
|
||||||
@ -33,4 +37,8 @@ ACPUnmountExternalStorage();
|
|||||||
ACPResult
|
ACPResult
|
||||||
ACPUnmountSaveDir();
|
ACPUnmountSaveDir();
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
@ -11,6 +11,10 @@
|
|||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef uint64_t ACPTitleId;
|
typedef uint64_t ACPTitleId;
|
||||||
typedef struct ACPMetaXml ACPMetaXml;
|
typedef struct ACPMetaXml ACPMetaXml;
|
||||||
|
|
||||||
@ -244,4 +248,8 @@ ACPGetTitleMetaDirByDevice(ACPTitleId titleId,
|
|||||||
size_t directoryLen,
|
size_t directoryLen,
|
||||||
ACPDeviceType deviceType);
|
ACPDeviceType deviceType);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user