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 have a type declared as interface ASDFObject in my UDL file, which works without issue in Swift/Kotlin/Python.
When trying to generate CS bindings, the output file however includes
publicclassAsdfObjectSafeHandle:FFISafeHandle{
while the constructors then are defined as
publicstaticextern ASDFObjectSafeHandle ...
... which of course doesn't compile. If I switch the Rust/UDL type name to be AsdfObject everything seems to be generated uniformly, which I however would like to avoid.
The text was updated successfully, but these errors were encountered:
Good catch. Is the expected class name for your C# bindings class AsdfObject? Or should it be class ASDFObject?
I honestly have no strong preference as long as it's consistent and roughly follows the target language's best practices. I'm not too familiar with C# so far, but from what I gathered AsdfObject seems to be the convention?
I have a type declared as
interface ASDFObject
in my UDL file, which works without issue in Swift/Kotlin/Python.When trying to generate CS bindings, the output file however includes
while the constructors then are defined as
... which of course doesn't compile. If I switch the Rust/UDL type name to be
AsdfObject
everything seems to be generated uniformly, which I however would like to avoid.The text was updated successfully, but these errors were encountered: