소스 검색

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

* add tracy profiler extern

* disable tracy guard
Michael Bickel 11 달 전
부모
커밋
94bde7d3c0
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  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;
 
-#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 {
@@ -115,4 +116,4 @@ extern class Native_TracyProfiler {
     typedef TracyProfiler = Cppia_TracyProfiler;
 #else
     typedef TracyProfiler = Native_TracyProfiler;
-#end
+#end