From 6c7788adf373cd8f0dc5c4fe2b7674625631721e Mon Sep 17 00:00:00 2001 From: Russell O'Connor Date: Wed, 24 Dec 2025 09:50:30 -0500 Subject: [PATCH] Avoid Simplicity header dependency propogation The problem with including in interpreter.h is that now everyone who needs to include interpreter.h also needs access to Simplicity's header files too. This commit breaks that dependency chain by using forward declarations. It will pay signifigant dividends when elements switches to CMake. --- src/script/interpreter.cpp | 5 +++++ src/script/interpreter.h | 12 +++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/script/interpreter.cpp b/src/script/interpreter.cpp index d01d4a1a87..498343432e 100644 --- a/src/script/interpreter.cpp +++ b/src/script/interpreter.cpp @@ -13,6 +13,7 @@ #include