Move ModuleType out of canvas.h
It is not property of the canvas but part of higher level abstraction
This commit is contained in:
parent
6ef5e2397e
commit
9b2489b408
|
@ -33,8 +33,6 @@ typedef struct canvas_tag { int unused; } * canvas_handle;
|
||||||
typedef struct canvas_module_tag { int unused; } * canvas_module_handle;
|
typedef struct canvas_module_tag { int unused; } * canvas_module_handle;
|
||||||
typedef struct canvas_port_tag { int unused; } * canvas_port_handle;
|
typedef struct canvas_port_tag { int unused; } * canvas_port_handle;
|
||||||
|
|
||||||
enum ModuleType { Input, Output, InputOutput };
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -41,4 +41,6 @@
|
||||||
|
|
||||||
#include "canvas.h"
|
#include "canvas.h"
|
||||||
|
|
||||||
|
enum ModuleType { Input, Output, InputOutput };
|
||||||
|
|
||||||
#endif /* #ifndef COMMON_H__15E63B7A_8350_4ABD_B04C_592158354949__INCLUDED */
|
#endif /* #ifndef COMMON_H__15E63B7A_8350_4ABD_B04C_592158354949__INCLUDED */
|
||||||
|
|
Loading…
Reference in New Issue