File: 0010-stb_herringbone_wang_tile.h-add-missing-forward-decl.patch

package info (click to toggle)
libstb 0.0~git20250907.fede005%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,520 kB
  • sloc: ansic: 80,787; cpp: 1,506; makefile: 114; sh: 22
file content (26 lines) | stat: -rw-r--r-- 846 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From ee205afb12ec7263d4c56132af051dfb4ec5e23a Mon Sep 17 00:00:00 2001
From: yangfl <yangfl@users.noreply.github.com>
Date: Sat, 27 Jul 2024 09:43:20 +0800
Subject: [PATCH 10/11] stb_herringbone_wang_tile.h: add missing forward
 declaration

---
 stb_herringbone_wang_tile.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/stb_herringbone_wang_tile.h b/stb_herringbone_wang_tile.h
index 5517941..92c238b 100644
--- a/stb_herringbone_wang_tile.h
+++ b/stb_herringbone_wang_tile.h
@@ -366,6 +366,8 @@ STBHW_EXTERN const char *stbhw_get_last_error(void)
 //  need to try to do more sophisticated parsing of edge color
 //  markup or something.
 
+struct stbhw__process;
+
 typedef void stbhw__process_rect(struct stbhw__process *p, int xpos, int ypos,
                                  int a, int b, int c, int d, int e, int f);
 
-- 
2.47.2