c++ bindings for libnx
This commit is contained in:
1 parent
b144c8d633
commit
018325747d
26 files changed
+33869
-41
No files matched your search
@@ -71,6 +71,8 @@ CFLAGS += -DUI_OVERRIDE_PATH="\"$(UI_OVERRIDE_PATH)\""
|
||||
|
||||
CXXFLAGS := $(CFLAGS) -fno-exceptions -std=gnu++23
|
||||
|
||||
switch.o: CXXFLAGS += -fno-lto
|
||||
|
||||
ASFLAGS := -g $(ARCH)
|
||||
LDFLAGS = -specs=$(DEVKITPRO)/libnx/switch.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map),-wrap,__cxa_throw -Wl,-wrap,_Unwind_Resume -Wl,-wrap,__gxx_personality_v0
|
||||
|
||||
|
||||
@@ -26,14 +26,14 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <hocclk.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
#include "cpp_util.hpp"
|
||||
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <hocclk.h>
|
||||
|
||||
#include <hocclk/client/ipc.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
|
||||
Reference in new issue
Block a user