File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change 36
36
37
37
#include <vips/mask.h>
38
38
39
+ /* The old deprecated VipsVector/VipsExecutor API required orc.
40
+ * Avoid a possible ABI/API break with the adoption of highway.
41
+ */
42
+ #ifdef HAVE_ORC
43
+ #include <orc/orc.h>
44
+ #else
45
+ typedef struct _OrcProgram {
46
+ /* Opaque */
47
+ } OrcProgram ;
48
+
49
+ typedef struct _OrcExecutor {
50
+ char data [808 ];
51
+ } OrcExecutor ;
52
+ #endif
53
+
39
54
#ifdef __cplusplus
40
55
extern "C" {
41
56
#endif /*__cplusplus*/
@@ -1658,18 +1673,6 @@ size_t vips__get_sizeof_vipsobject(void);
1658
1673
1659
1674
/* This is deprecated to make room for highway.
1660
1675
*/
1661
- #ifndef OrcProgram
1662
- typedef struct _OrcProgram {
1663
- /* Opaque */
1664
- } OrcProgram ;
1665
- #endif
1666
-
1667
- #ifndef OrcExecutor
1668
- typedef struct _OrcExecutor {
1669
- char data [808 ];
1670
- } OrcExecutor ;
1671
- #endif
1672
-
1673
1676
#define VIPS_VECTOR_SOURCE_MAX (10)
1674
1677
1675
1678
typedef struct {
You can’t perform that action at this time.
0 commit comments