Update manuals and other additions

This commit is contained in:
2026-06-09 12:45:33 -05:00
parent 051b12f28d
commit 78fb8d6d7c
101 changed files with 1629 additions and 401 deletions
+3 -3
View File
@@ -4,7 +4,7 @@ set -euo pipefail
ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
BUILD="$ROOT/build/interop"
PROTEL="$ROOT/protel"
PC="$ROOT/Pc"
RUNTIME="$ROOT/src/runtime/protel_io.c"
mkdir -p "$BUILD"
@@ -17,7 +17,7 @@ fi
CXX="$(command -v clang++ || command -v g++)"
echo "=== PROTEL calls Swift ==="
"$PROTEL" "$ROOT/examples/interop/protel_calls_swift.protel" \
"$PC" "$ROOT/examples/interop/protel_calls_swift.P" \
--keep -o "$BUILD/protel_calls_swift.cpp"
"$CXX" -std=c++20 -Wall -I"$ROOT/src/runtime" -c "$BUILD/protel_calls_swift.cpp" \
-o "$BUILD/protel_calls_swift.o"
@@ -28,7 +28,7 @@ swiftc -parse-as-library -c "$ROOT/examples/interop/swift_greet.swift" \
"$BUILD/protel_calls_swift"
echo "=== Swift calls PROTEL ==="
"$PROTEL" "$ROOT/examples/interop/protel_for_swift.protel" \
"$PC" "$ROOT/examples/interop/protel_for_swift.P" \
--keep -o "$BUILD/protel_for_swift.cpp"
"$CXX" -std=c++20 -Wall -I"$ROOT/src/runtime" -c "$BUILD/protel_for_swift.cpp" \
-o "$BUILD/protel_for_swift.o"