···11+# plcbundle-rs
22+33+Main purpose of this package is to provide universal and simple interface, as Rust library or C/GO bindings for manipulation with plcbundle repository.
···11+#include "plcbundle.h"
22+#include <stddef.h>
33+44+// This function will be called by Rust, and it will call the Go function
55+// The Go function is exported via //export, so it's available as a C function
66+int exportCallbackBridge(const char* data, size_t len, void* user_data) {
77+ // The Go-exported function will be linked in
88+ extern int exportCallbackGo(const char* data, size_t len, void* user_data);
99+ return exportCallbackGo(data, len, user_data);
1010+}
1111+