This repository has been archived on 2024-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
trixy/example/main
Benedikt Peetz 0a60c894d2 feat!(src/macros): Store allocation location in all strings
This makes it possible to automatically free the string in the correct
way expected by both c and rust.
Rust strings can now just be freed by the rust allocator, whilst c
strings are forgotten, so that the c allocator may free them.

BREAKING CHANGE: All usage of explicit mentions `std::string::String`
                 in your `handle_cmd` function will need to be replaced
                 by `trixy::types::newtypes::String`. Otherwise these
                 types should provide the same methods.
2024-05-04 10:12:20 +02:00
..
.cargo chore(treewide): Update license header 2024-03-26 20:11:23 +01:00
c docs(example/main): Update to include newly added callbacks 2024-03-27 22:36:17 +01:00
src/bin feat!(src/macros): Store allocation location in all strings 2024-05-04 10:12:20 +02:00
.gitignore fix(example/main): Ignore generated api.rs debugging file 2024-03-27 22:36:26 +01:00
Cargo.toml docs(example/main): Update to include newly added callbacks 2024-03-27 22:36:17 +01:00
Makefile docs(example/main): Update to include newly added callbacks 2024-03-27 22:36:17 +01:00
README.md chore(treewide): Update license header 2024-03-26 20:11:23 +01:00
build.rs docs(example/main): Update to include newly added callbacks 2024-03-27 22:36:17 +01:00
valgrind_test.sh chore(treewide): Update license header 2024-03-26 20:11:23 +01:00

README.md

Reason

This is not a cargo example, as its needs a full build.rs step.