Return to caparesponse.h CVS log | Up to [LON-CAPA] / loncom / homework / caparesponse |
- Eliminate "Incompatible-pointer-types" error in capa_wrap.c compilation and "implicit-function-declaration" warning in caparesponse.c building capa.so on Fedora 40.
#ifndef CAPARESPONSE_H #define CAPARESPONSE_H extern int caparesponse_capa_check_answer(char *response,char *correct, int type,int tol_type,double tolerance, int sig_lbound,int sig_ubound, char *ans_fmt, char *unit_str, int calc, char *id_list, char *pts_list, char *rndseed, char** reterror); extern int caparesponse_get_real_response(char* unit_str, char* answer, double* scaled); #endif