aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/pyhelper.h
blob: bca65fd292355e839092fefb046cd7c6d2c616d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef PYHELPER_H
#define PYHELPER_H

double get_time(void);
struct timespec fill_time(double time);
void set_python_logging_callback(void (*func)(const char *));
void errorf(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
void report_errno(char *where, int rc);
char *dump_string(char *outbuf, int outbuf_size, char *inbuf, int inbuf_size);

#endif // pyhelper.h