aboutsummaryrefslogtreecommitdiff
path: root/subprojects/packagefiles/millepede/mille_c_wrap.h
blob: 1f0fc84123a25b897581e82e257247ae84163485 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifdef __cplusplus
extern "C" {
#else
typedef void *Mille;
#endif


extern Mille *mille_new(const char *outFileName,
                        int asBinary,
                        int writeZero);

extern void mille_add_measurement(Mille *m,
                                  int NLC, const float *derLc,
                                  int NGL, const  float *derGl,
                                  const int *label, float rMeas, float sigma);

extern void mille_add_special(Mille *m,
                              int nSpecial,
                              const float *floatings,
                              const int *integers);

extern void mille_delete_last_record(Mille *m);

extern void mille_write_record(Mille *m);

extern void mille_free(Mille *m);

#ifdef __cplusplus
} /* extern "C" */
#endif