aboutsummaryrefslogtreecommitdiff
path: root/src_c/csp.c
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2021-12-22 19:35:48 +0100
committerbozo.kopic <bozo@kopic.xyz>2021-12-22 19:35:48 +0100
commit1a19c238e3741931db9e61b6a0b79259b5ed0753 (patch)
tree7e5d705e423583188b346bbb7e7486f808b66bc8 /src_c/csp.c
parent923e73a50320792bbedb945b45c54dab12d44708 (diff)
WIP c implementation
Diffstat (limited to 'src_c/csp.c')
-rw-r--r--src_c/csp.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src_c/csp.c b/src_c/csp.c
new file mode 100644
index 0000000..1e555dc
--- /dev/null
+++ b/src_c/csp.c
@@ -0,0 +1,14 @@
+#include "csp.h"
+
+
+int opcut_calculate(opcut_method_t method, opcut_params_t *params,
+ opcut_result_t *result) {
+
+ result->params = params;
+ result->used = NULL;
+ result->used_len = 0;
+ result->unused = NULL;
+ result->unused_len = 0;
+
+ return OPCUT_SUCCESS;
+}