Skip to content

generate: Improve classification of pointer arguments

Emmanuele Bassi requested to merge issue-117 into main

If an argument is of a fundamental type, the direction is out or in-out, and it has a single pointer, then we don't need to classify it as a pointer argument, as it's really an out argument, and the fact that it uses a pointer is merely how C implements out arguments.

Fixes: #117 (closed)

Edited by Emmanuele Bassi

Merge request reports

Loading