diff options
author | Neil <nyamatongwe@gmail.com> | 2021-03-18 18:14:09 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-03-18 18:14:09 +1100 |
commit | cb7f77559b1682e7655af5a88b5bbeb63899eca4 (patch) | |
tree | fe5db395b9e6b344347747ef16de45a0ae2913b2 /cocoa | |
parent | bac6aef730e569c6b4bcda7026bf1c1db3e827b6 (diff) | |
download | scintilla-mirror-cb7f77559b1682e7655af5a88b5bbeb63899eca4.tar.gz |
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.
Diffstat (limited to 'cocoa')
-rw-r--r-- | cocoa/PlatCocoa.h | 1 | ||||
-rw-r--r-- | cocoa/PlatCocoa.mm | 1 | ||||
-rw-r--r-- | cocoa/ScintillaCocoa.mm | 1 | ||||
-rw-r--r-- | cocoa/ScintillaView.mm | 1 |
4 files changed, 4 insertions, 0 deletions
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 <Cocoa/Cocoa.h> +#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 <Foundation/NSGeometry.h> +#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 <QuartzCore/CAAnimation.h> #import <QuartzCore/CATransaction.h> +#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 <string_view> #include <vector> +#import "Debugging.h" #import "Geometry.h" #import "Platform.h" #import "ScintillaView.h" |