Content
This is an example illustrating basic memory management rules. Boost is only used to generate examples and is not necessary for working with this SDK.
#include <boost/test/unit_test.hpp>
#include <stdlib.h>
#include <stdio.h>
BOOST_AUTO_TEST_SUITE(example_reconstructmesdk)
BOOST_AUTO_TEST_CASE(memory_management) {
const char *version_str;
int length;
printf("Version running: %s", version_str);
float *mat = (float*)malloc(16 * sizeof(float));
free(mat);
}
BOOST_AUTO_TEST_SUITE_END()