No description
  • C 52.1%
  • Python 33.7%
  • CMake 12.4%
  • Shell 1.8%
Find a file
2025-10-03 15:40:32 +02:00
protos Fixed memory leaks in stack quicksort and printing, added unconditional stack destruction, and introduced a clearer Student/Subject example with updated student.proto. 2025-09-23 14:42:04 +02:00
python Simplified student stack demo, inlined get_value_ptr and removed print_extended/freeElem support. 2025-09-24 16:18:40 +02:00
stack Wrapped Python FFI into a stacklib module and simplified the demo usage. 2025-09-24 10:38:53 +02:00
test_stack Switched Python demo to use stack_print with a to_string callback, removed stack_print_int, and updated the C example accordingly. 2025-09-24 09:15:32 +02:00
.gitignore Added __pycache__/ to .gitignore. 2025-09-25 10:21:52 +02:00
CMakeLists.txt Replaced Conan with system packages, added recursive protobuf-c code generation and integration (including pkg-config linking), and extended main to use generated test2 with the stack. 2025-09-15 15:14:01 +02:00
CMakePresets.json Replaced Conan with system packages, added recursive protobuf-c code generation and integration (including pkg-config linking), and extended main to use generated test2 with the stack. 2025-09-15 15:14:01 +02:00
README.md Added pkg-config to the prerequisites list in README.md. 2025-10-03 15:40:32 +02:00

Prerequisites

sudo apt install pkg-config protobuf-c-compiler libprotobuf-c-dev pipenv

cd python/

# Create and activate a Python virtual environment, then install and synchronize all Python dependencies.
pipenv install --dev
pipenv shell
# pipenv sync --dev

./generate.sh