compile errors fixed
This commit is contained in:
		
							parent
							
								
									2576f6ae2e
								
							
						
					
					
						commit
						ebc5ae5afc
					
				@ -1,5 +1,6 @@
 | 
				
			|||||||
#define PY_SSIZE_T_CLEAN
 | 
					#define PY_SSIZE_T_CLEAN
 | 
				
			||||||
#include <Python.h>
 | 
					#include <Python.h>
 | 
				
			||||||
 | 
					#include "scode.h"
 | 
				
			||||||
#include "gpio.h"
 | 
					#include "gpio.h"
 | 
				
			||||||
#include "ep_upiwin.h"
 | 
					#include "ep_upiwin.h"
 | 
				
			||||||
#include "ep_init.h"
 | 
					#include "ep_init.h"
 | 
				
			||||||
 | 
				
			|||||||
@ -20,7 +20,7 @@ static PyMethodDef UPIWINMethods[] = {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
static PyModuleDef DefUPIWIN = {
 | 
					static PyModuleDef DefUPIWIN = {
 | 
				
			||||||
  PyModuleDef_HEAD_INIT,     /* standard garbage */
 | 
					  PyModuleDef_HEAD_INIT,     /* standard garbage */
 | 
				
			||||||
  Mod_UPIWIN,              /* module name */
 | 
					  "upiwin",                  /* module name */
 | 
				
			||||||
  NULL,                      /* no doc string */
 | 
					  NULL,                      /* no doc string */
 | 
				
			||||||
  sizeof(UPIWIN_STATE),      /* per-module memory */
 | 
					  sizeof(UPIWIN_STATE),      /* per-module memory */
 | 
				
			||||||
  UPIWINMethods,             /* method defs */
 | 
					  UPIWINMethods,             /* method defs */
 | 
				
			||||||
 | 
				
			|||||||
@ -34,7 +34,6 @@ int main(int argc, char *argv[])
 | 
				
			|||||||
  HRESULT hr;
 | 
					  HRESULT hr;
 | 
				
			||||||
  int running = 1;
 | 
					  int running = 1;
 | 
				
			||||||
  MSG msg;
 | 
					  MSG msg;
 | 
				
			||||||
  char *tmp;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /* initialization sequence */
 | 
					  /* initialization sequence */
 | 
				
			||||||
  Time_init();
 | 
					  Time_init();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user