pyhelper: Move helper functions from serialqueue.c to new file

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2016-11-30 11:33:44 -05:00
parent 7cb71df02c
commit b14db404b5
4 changed files with 74 additions and 61 deletions

9
klippy/pyhelper.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef PYHELPER_H
#define PYHELPER_H
double get_time(void);
struct timespec fill_time(double time);
void report_errno(char *where, int rc);
char *dump_string(char *outbuf, int outbuf_size, char *inbuf, int inbuf_size);
#endif // pyhelper.h