Forráskód Böngészése

Fix Docgen by disabling tracy #ifdef guard (#11790)

* add tracy profiler extern

* disable tracy guard
Michael Bickel 9 hónapja
szülő
commit
94bde7d3c0
1 módosított fájl, 5 hozzáadás és 4 törlés
  1. 5 4
      std/cpp/vm/tracy/TracyProfiler.hx

+ 5 - 4
std/cpp/vm/tracy/TracyProfiler.hx

@@ -22,9 +22,10 @@
 
 
 package cpp.vm.tracy;
 package cpp.vm.tracy;
 
 
-#if (!HXCPP_TRACY)
-#error "This class cannot be used without -D HXCPP_TRACY"
-#end
+// Disable this guard for now.
+// #if (!HXCPP_TRACY)
+// #error "This class cannot be used without -D HXCPP_TRACY"
+// #end
 
 
 
 
 enum abstract PlotFormatType(cpp.UInt8) from cpp.UInt8 to cpp.UInt8 {
 enum abstract PlotFormatType(cpp.UInt8) from cpp.UInt8 to cpp.UInt8 {
@@ -115,4 +116,4 @@ extern class Native_TracyProfiler {
     typedef TracyProfiler = Cppia_TracyProfiler;
     typedef TracyProfiler = Cppia_TracyProfiler;
 #else
 #else
     typedef TracyProfiler = Native_TracyProfiler;
     typedef TracyProfiler = Native_TracyProfiler;
-#end
+#end