LMMS
Loading...
Searching...
No Matches
resize-port.h
Go to the documentation of this file.
1/*
2 Copyright 2007-2016 David Robillard <http://drobilla.net>
3
4 Permission to use, copy, modify, and/or distribute this software for any
5 purpose with or without fee is hereby granted, provided that the above
6 copyright notice and this permission notice appear in all copies.
7
8 THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15*/
16
24
25#ifndef LV2_RESIZE_PORT_H
26#define LV2_RESIZE_PORT_H
27
28#include <stddef.h>
29#include <stdint.h>
30
31#define LV2_RESIZE_PORT_URI "http://lv2plug.in/ns/ext/resize-port"
32#define LV2_RESIZE_PORT_PREFIX LV2_RESIZE_PORT_URI "#"
33
34#define LV2_RESIZE_PORT__asLargeAs LV2_RESIZE_PORT_PREFIX "asLargeAs"
35#define LV2_RESIZE_PORT__minimumSize LV2_RESIZE_PORT_PREFIX "minimumSize"
36#define LV2_RESIZE_PORT__resize LV2_RESIZE_PORT_PREFIX "resize"
37
38#ifdef __cplusplus
39extern "C" {
40#else
41# include <stdbool.h>
42#endif
43
50
53
77
78#ifdef __cplusplus
79} /* extern "C" */
80#endif
81
82#endif /* LV2_RESIZE_PORT_H */
83
LV2_Resize_Port_Status
Definition resize-port.h:45
void * LV2_Resize_Port_Feature_Data
Definition resize-port.h:52
@ LV2_RESIZE_PORT_ERR_UNKNOWN
Definition resize-port.h:47
@ LV2_RESIZE_PORT_ERR_NO_SPACE
Definition resize-port.h:48
@ LV2_RESIZE_PORT_SUCCESS
Definition resize-port.h:46
unsigned int uint32_t
Definition mid.cpp:100
Definition resize-port.h:55
LV2_Resize_Port_Feature_Data data
Definition resize-port.h:57
LV2_Resize_Port_Status(* resize)(LV2_Resize_Port_Feature_Data data, uint32_t index, size_t size)
Definition resize-port.h:73
ulg size
Definition extract.c:2350