extending structs

About Monkey 2 Forums Monkey 2 Development extending structs

This topic contains 1 reply, has 1 voice, and was last updated by  abakobo 2 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4112

    abakobo
    Participant

    It would be great if we could extend structs. To bind Box2D for example, I have to create some conversion in c++ side for all the structs that use struct extends.
    So if it’s not “impossible” to do because of mx2 compiler design it would be a great feature for external bindings.

    edit: the conversion happened automatically so it can be a non-issue. Being able to extend struct would be cool still…

    #4150

    abakobo
    Participant

    I could extend struct in the extern section…

    didn’t try in public section.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.