compile errors fixed

This commit is contained in:
Amy G. Bowersox 2019-12-07 20:59:18 -07:00
parent 2576f6ae2e
commit ebc5ae5afc
3 changed files with 10 additions and 10 deletions

View File

@ -1,5 +1,6 @@
#define PY_SSIZE_T_CLEAN
#include <Python.h>
#include "scode.h"
#include "gpio.h"
#include "ep_upiwin.h"
#include "ep_init.h"

View File

@ -20,7 +20,7 @@ static PyMethodDef UPIWINMethods[] = {
static PyModuleDef DefUPIWIN = {
PyModuleDef_HEAD_INIT, /* standard garbage */
Mod_UPIWIN, /* module name */
"upiwin", /* module name */
NULL, /* no doc string */
sizeof(UPIWIN_STATE), /* per-module memory */
UPIWINMethods, /* method defs */

View File

@ -34,7 +34,6 @@ int main(int argc, char *argv[])
HRESULT hr;
int running = 1;
MSG msg;
char *tmp;
/* initialization sequence */
Time_init();