Skip to content

Commit

Permalink
don't expose yoga includes
Browse files Browse the repository at this point in the history
This makes sure that the yoga includes are only included in internal headers.

Eventually we should move private headers to the "internal" folder, for now I'm just defining a helper header to include in internal only headers which will assert if it's incorrectly included by a runtime/higher level public implementation.

Diffs=
071b19ba62 don't expose yoga includes (#8526)

Co-authored-by: Luigi Rosso <[email protected]>
Co-authored-by: blakdragan7 <[email protected]>
  • Loading branch information
3 people committed Nov 9, 2024
1 parent 33d54c2 commit 7a3369a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ad1ca22bd5911398018c9a6883e4cba7a1b07c53
071b19ba62ea97db039f71dcab264d4934161db4
1 change: 1 addition & 0 deletions rive-rs/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ fn main() {
.include(rive_cpp_path.join("include"))
.files(all_files_with_extension(rive_cpp_path.join("src"), "cpp"))
.flag("-std=c++14")
.define("_RIVE_INTERNAL_", None)
.warnings(false);

if cfg!(feature = "text") {
Expand Down
2 changes: 1 addition & 1 deletion submodules/rive-cpp

0 comments on commit 7a3369a

Please sign in to comment.