HMIProject / open62541-sys

2 stars 2 forks source link

Add binding of `vsnprintf()` to use for formatting log messages #8

Closed sgoll closed 4 months ago

sgoll commented 4 months ago

Description

For HMIProject/open62541#22 we need to pass back control to C string formatting with vprintf et al. For this, we include the bounds-checked string variant vsnprintf() in the generated bindings. It is available via <stdio.h> anyway and does not increase the size of the resulting library.