HMIProject / open62541-sys

2 stars 2 forks source link

Use original name for `UA_EMPTY_ARRAY_SENTINEL` export #7

Closed sgoll closed 4 months ago

sgoll commented 4 months ago

Description

This uses parse callbacks to adjust the name of UA_EMPTY_ARRAY_SENTINEL back to its proper name without trailing underscore.

The reason we had an underscore in the first place was that we needed (and still need) to define a static constant to let bindgen define what in the original code is a non-trivial macro.