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 2e92028de2
feat(src/macros)!: Store allocation location in all stringsThis makes it possible to automatically free the string in the correctway expected by both c and rust.Rust strings can now just be freed by the rust allocator, whilst cstrings 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-20 15:33:36 +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 stringsThis makes it possible to automatically free the string in the correctway expected by both c and rust.Rust strings can now just be freed by the rust allocator, whilst cstrings 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-20 15:33:36 +02:00
.gitignore fix(example/main): Ignore generated `api.rs` debugging file 2024-05-20 15:33:22 +02: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.