You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get this library working with Dart's ffigen tool , and it does not support bit field members.
The structs causing that are problematic are : UA_DataValue UA_DiagnosticInfo UA_DataTypeMember UA_DataType
To my eye the solution is to make the use of bitfields in these structs optional via a Cmake option : UA_DISABLE_BITFIELDS , or something like that.
I just want to run this by you for now , If you think its a viable solution I will make a pull request. The only "problem" I can see here is that the library will be less efficient if built without bit fields , but perhaps I am missing something ?
Kind Regards.
The text was updated successfully, but these errors were encountered:
Hi , @jpfr
I am trying to get this library working with Dart's ffigen tool , and it does not support bit field members.
The structs causing that are problematic are :
UA_DataValue
UA_DiagnosticInfo
UA_DataTypeMember
UA_DataType
To my eye the solution is to make the use of bitfields in these structs optional via a Cmake option : UA_DISABLE_BITFIELDS , or something like that.
I just want to run this by you for now , If you think its a viable solution I will make a pull request. The only "problem" I can see here is that the library will be less efficient if built without bit fields , but perhaps I am missing something ?
Kind Regards.
The text was updated successfully, but these errors were encountered: