24#ifndef ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_PICALCULATOR_H_
25#define ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_PICALCULATOR_H_
35 void calculate(
unsigned int terms);
37 typedef void (*show_result_callback_type)(
double pi);
38 void setShowResultCallback(show_result_callback_type f);
41 show_result_callback_type m_show_result_callback{};
defines the macros to be used for explicit export of the symbols
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.