jpp/zad4/include/wrapper.h
2024-03-22 11:44:03 +01:00

18 lines
340 B
C

#ifndef _JPP_L1_Z4_WRAPPER_H
#define _JPP_L1_Z4_WRAPPER_H
#include <stdbool.h>
extern unsigned int gcd(unsigned int a, unsigned int b);
extern unsigned int factorial(unsigned int n);
typedef struct {
bool resultExists;
int n;
int m;
} Result;
extern Result diophantine(int a, int b, int c);
#endif // _JPP_L1_Z4_WRAPPER_H