aboutsummaryrefslogtreecommitdiff
path: root/subprojects/packagefiles/millepede/mille_c_wrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/packagefiles/millepede/mille_c_wrap.h')
-rw-r--r--subprojects/packagefiles/millepede/mille_c_wrap.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/subprojects/packagefiles/millepede/mille_c_wrap.h b/subprojects/packagefiles/millepede/mille_c_wrap.h
new file mode 100644
index 00000000..1f0fc841
--- /dev/null
+++ b/subprojects/packagefiles/millepede/mille_c_wrap.h
@@ -0,0 +1,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