ZhuangLab / storm-control

Microscope control software
Other
65 stars 67 forks source link

C interfaces updates #33

Closed HazenBabcock closed 8 years ago

HazenBabcock commented 8 years ago

1) use c_void_p for pointers and not c_int or c_long as these are the wrong size (4 bytes, not 8 bytes) on 64 bit platforms.

2) use "import ctypes" and not "from ctypes import *" to reduce name space pollution.

Files to fix: andor/andorcontroller.py crystalTechnologies/AOTF.py halLib/imagewriters.py madCityLabs/mclController.py marzhauser/marzhauser.py nationalInstruments/nicontrol.py objectFinder/lmmObjectFinder.py

Files to remove: andor/andorSDK3_v0.py andor/formatconverters.py objectFinder/fastObjectFinder.py

HazenBabcock commented 8 years ago

This should be fixed now.