MySQL 8.0.40
Source Code Documentation
|
A Service for example basic math functionality. More...
#include <example_services.h>
Public Attributes | |
mysql_service_status_t(* | calculate_gcd )(int a, int b, int *result) |
Calculates Greatest Common Divisor for given two non-negative numbers. More... | |
A Service for example basic math functionality.
mysql_service_status_t(* s_mysql_example_math::calculate_gcd) (int a, int b, int *result) |
Calculates Greatest Common Divisor for given two non-negative numbers.
a | First number to calculate GCD of. | |
b | Second number to calculate GCD of. | |
[out] | result | A pointer to integer variable to store result in. |
false | success |
true | failure |