Implement get_calculator()

This commit is contained in:
Gerhard Hoffmann 2024-01-22 14:29:02 +01:00
parent 99a3c34d53
commit d7757773bd

View File

@ -11,6 +11,10 @@
static Calculator calculator; static Calculator calculator;
Calculator CALCULATE_LIBRARY_API *get_calculator() {
return &calculator;
}
int CALCULATE_LIBRARY_API get_zone_nr(int zone) int CALCULATE_LIBRARY_API get_zone_nr(int zone)
{ {
if(zone > -1) return zone; if(zone > -1) return zone;