Invoke add_one from the extension and print the result.
()
| 28 | |
| 29 | |
| 30 | def run_add_one() -> None: |
| 31 | """Invoke add_one from the extension and print the result.""" |
| 32 | print("=========== Example 2: add_one ===========") |
| 33 | print(my_ffi_extension.add_one(3)) |
| 34 | |
| 35 | |
| 36 | def run_raise_error() -> None: |