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
Let's take the following pseudo header file as an example
structWHEEL {
float rimSize;
} Wheel;
enum DriveType { Front, Rear, All };
structCAR {
Wheel wheels[4];
DriveType driveType;
float weight;
} Car;
voidReverseCar(Car car);
// a lot of other stuff we're not interested in
Right now you would have to write the following mappings.xml file to make use of the ReverseCar method.
Which should automatically attach all the types, enums, etc... needed to make the ReverseCar method work. I would hope this would work directly. But otherwise we could add an attribute to the attach tag like AutoAttachDependencies=true or something like that.
It would be nice if this would work anything that you can attach, not just functions.
Disclaimer: I'm super new to SharpGen so I have no clue about the technical complexity to make this work, or if there are already other ways to accomplish this.
The text was updated successfully, but these errors were encountered:
Let's take the following pseudo header file as an example
Right now you would have to write the following mappings.xml file to make use of the
ReverseCar
method.I would like to be able to simplify this to:
Which should automatically attach all the types, enums, etc... needed to make the ReverseCar method work. I would hope this would work directly. But otherwise we could add an attribute to the attach tag like
AutoAttachDependencies=true
or something like that.It would be nice if this would work anything that you can attach, not just functions.
Disclaimer: I'm super new to SharpGen so I have no clue about the technical complexity to make this work, or if there are already other ways to accomplish this.
The text was updated successfully, but these errors were encountered: