Skip to content

Commit

Permalink
Fix Docgen by disabling tracy #ifdef guard (#11790)
Browse files Browse the repository at this point in the history
* add tracy profiler extern

* disable tracy guard
  • Loading branch information
dazKind authored Oct 15, 2024
1 parent 1e94858 commit 94bde7d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions std/cpp/vm/tracy/TracyProfiler.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -115,4 +116,4 @@ extern class Native_TracyProfiler {
typedef TracyProfiler = Cppia_TracyProfiler;
#else
typedef TracyProfiler = Native_TracyProfiler;
#end
#end

0 comments on commit 94bde7d

Please sign in to comment.