mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 12:27:14 +02:00
updated bug-crashing when file write disabled and included file pointer in call back function
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@474 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -7,7 +7,9 @@ Functions depending on the experimental setup should be defined here
|
||||
******************************************************************/
|
||||
|
||||
//#define PI 3.14159265358979323846
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <iostream>
|
||||
#endif
|
||||
|
||||
#ifdef EPICS
|
||||
#include <cadef.h>
|
||||
@ -40,8 +42,9 @@ extern "C" {
|
||||
int defaultDataReadyFunc(detectorData* d, int i, void* p);
|
||||
int defaultRawDataReadyFunc(double* d, int np, void* p);
|
||||
|
||||
int defaultWriteReceiverDataFunc(char* d, int np, void* p);
|
||||
|
||||
#ifdef __cplusplus
|
||||
int defaultWriteReceiverDataFunc(char* d, int np, FILE* f, void* p);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
|
Reference in New Issue
Block a user