Fist class function in collection with struct parameter

About Monkey 2 Forums Monkey 2 Programming Help Fist class function in collection with struct parameter

This topic contains 3 replies, has 3 voices, and was last updated by  abakobo 1 week, 4 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16077

    NoOdle

    Participant

     

    The above code won’t build when Event is a struct, works fine as a Class. I assume that its not possible with structs?

    #16078

    Danilo

    Participant

    Wrong C++ code is generated, so you should report it at github as a bug.

    As a workaround you could use Alias EventCb:Void( event:Event Ptr )

    #16079

    NoOdle

    Participant

    Thanks Danilo, it didn’t occur to me to look at the C++ code. I’ll report the bug now.

    #16084

    abakobo

    Participant

    A correcting commit has arrived! Thx Mark!

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

You must be logged in to reply to this topic.