Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 134 → Rev 135

/cvi/instr/WIENVME_DLL/wienvme_dll.c
1,5 → 1,6
#include <stdlib.h>
#include <stdio.h>
#include "wienvme_dll.h"
 
#ifdef _CVI_
#include <utility.h>
22,7 → 23,6
#include <string.h>
#endif
 
#include "wienvme_dll.h"
//----------- DEFINES -----------------------------------------------------
#define DEVICENAME_LINUX "/dev/pcivme_0" // a device name 'template' for LINUX
#define DEVICENAME_NT "\\\\.\\PCIVME:\\VMEMMxx" // a device name 'template' for WINNT
269,7 → 269,7
default:
return 0;
}
return nb;
return (short)nb;
}
 
short __stdcall WIENVME_VME_W( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data) {
297,7 → 297,7
default:
return 0;
}
return nb;
return (short)nb;
}
 
short __stdcall WIENVME_VME_MW( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data) {
/cvi/instr/WIENVME_DLL/wienvme_dll.h
2,9 → 2,9
#define _WIENVME_DLL_H
 
#ifdef _CVI_
#include <windows.h>
#include <ansi_c.h>
#include <stdint.h>
#include <windows.h>
#include <cvidef.h>
#endif