Mercurial > hg > pub > prymula > com
comparison CloneChannel/plugins/common/gen_dsp/genlib_exportfunctions.h @ 12:24d60bdea349
ClonneChannel
author | prymula <prymula76@outlook.com> |
---|---|
date | Thu, 08 Feb 2024 20:24:27 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
11:78390e0e674f | 12:24d60bdea349 |
---|---|
1 /******************************************************************************************************************* | |
2 Copyright (c) 2012 Cycling '74 | |
3 | |
4 Permission is hereby granted, free of charge, to any person obtaining a copy of this software | |
5 and associated documentation files (the "Software"), to deal in the Software without restriction, | |
6 including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
7 and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, | |
8 subject to the following conditions: | |
9 | |
10 The above copyright notice and this permission notice shall be included in all copies | |
11 or substantial portions of the Software. | |
12 | |
13 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, | |
14 INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | |
15 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | |
16 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE | |
17 OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
18 *******************************************************************************************************************/ | |
19 | |
20 #ifndef GENLIB_EXPORT_FUNCTIONS_H | |
21 #define GENLIB_EXPORT_FUNCTIONS_H 1 | |
22 | |
23 typedef char *t_ptr; | |
24 | |
25 t_ptr sysmem_newptr(t_ptr_size size); | |
26 t_ptr sysmem_newptrclear(t_ptr_size size); | |
27 t_ptr sysmem_resizeptr(void *ptr, t_ptr_size newsize); | |
28 t_ptr sysmem_resizeptrclear(void *ptr, t_ptr_size newsize); | |
29 t_ptr_size sysmem_ptrsize(void *ptr); | |
30 void sysmem_freeptr(void *ptr); | |
31 void sysmem_copyptr(const void *src, void *dst, t_ptr_size bytes); | |
32 unsigned long systime_ticks(void); | |
33 | |
34 void genlib_report_error(const char *s); | |
35 void genlib_report_message(const char *s); | |
36 void set_zero64(t_sample *mem, long size); | |
37 | |
38 #endif // GENLIB_EXPORT_FUNCTIONS_H |