Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 15 additions & 12 deletions libvips/include/vips/vips7compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,21 @@

#include <vips/mask.h>

/* The old deprecated VipsVector/VipsExecutor API required orc.
* Avoid a possible ABI/API break with the adoption of highway.
*/
#ifdef HAVE_ORC
#include <orc/orc.h>
#else
typedef struct _OrcProgram {
/* Opaque */
} OrcProgram;

typedef struct _OrcExecutor {
char data[808];
} OrcExecutor;
#endif

#ifdef __cplusplus
extern "C" {
#endif /*__cplusplus*/
Expand Down Expand Up @@ -1658,18 +1673,6 @@ size_t vips__get_sizeof_vipsobject(void);

/* This is deprecated to make room for highway.
*/
#ifndef OrcProgram
typedef struct _OrcProgram {
/* Opaque */
} OrcProgram;
#endif

#ifndef OrcExecutor
typedef struct _OrcExecutor {
char data[808];
} OrcExecutor;
#endif

#define VIPS_VECTOR_SOURCE_MAX (10)

typedef struct {
Expand Down
Loading