From cb7f77559b1682e7655af5a88b5bbeb63899eca4 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 18 Mar 2021 18:14:09 +1100 Subject: Move assert and debug trace functions into their own header Debugging.h. PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules. --- cocoa/PlatCocoa.h | 1 + cocoa/PlatCocoa.mm | 1 + cocoa/ScintillaCocoa.mm | 1 + cocoa/ScintillaView.mm | 1 + 4 files changed, 4 insertions(+) (limited to 'cocoa') diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h index f140295c5..4d006b1ff 100644 --- a/cocoa/PlatCocoa.h +++ b/cocoa/PlatCocoa.h @@ -17,6 +17,7 @@ #include +#include "Debugging.h" #include "Geometry.h" #include "Platform.h" #include "Scintilla.h" diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index d01c73da6..a13c2eac0 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -32,6 +32,7 @@ #import +#import "Debugging.h" #import "Geometry.h" #import "Platform.h" diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index f826b3565..72516be5c 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -26,6 +26,7 @@ #import #import +#import "Debugging.h" #import "Geometry.h" #import "Platform.h" #import "ScintillaView.h" diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index 2af97c278..ab5d0eee4 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -15,6 +15,7 @@ #include #include +#import "Debugging.h" #import "Geometry.h" #import "Platform.h" #import "ScintillaView.h" -- cgit v1.2.3