diff options
author | Jed Barber <jjbarber@y7mail.com> | 2018-03-13 00:48:56 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2018-03-13 00:48:56 +1100 |
commit | 9293541a882a64bcb21a845b085dc0fe4c72607c (patch) | |
tree | 44b7007ad3f6cc60fc3584db2a2197c179694959 /src | |
parent | ece14b9a9bce88245543bd7f1a3d40367276c9b5 (diff) |
Fixed missing C-side Fl_Valuator functions
Diffstat (limited to 'src')
-rw-r--r-- | src/c_fl_valuator.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/c_fl_valuator.cpp b/src/c_fl_valuator.cpp index c13669c..523379b 100644 --- a/src/c_fl_valuator.cpp +++ b/src/c_fl_valuator.cpp @@ -61,6 +61,21 @@ void free_fl_valuator(VALUATOR v) { +double fl_valuator_clamp(VALUATOR v, double a) { + return reinterpret_cast<My_Valuator*>(v)->clamp(a); +} + +double fl_valuator_round(VALUATOR v, double a) { + return reinterpret_cast<My_Valuator*>(v)->round(a); +} + +double fl_valuator_increment(VALUATOR v, double a, int s) { + return reinterpret_cast<My_Valuator*>(v)->increment(a,s); +} + + + + double fl_valuator_get_minimum(VALUATOR v) { return reinterpret_cast<My_Valuator*>(v)->minimum(); } |