external destructors

About Monkey 2 Forums Monkey 2 Programming Help external destructors

This topic contains 1 reply, has 2 voices, and was last updated by  Mark Sibly 2 years, 6 months ago.

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

    abakobo
    Participant

    how can I call and define external destructors. Constructore are defined with “New(..)” but I could not find a way to declare/call the destructor.

    [/crayon]

    Wich method do I have to call to destroy non GCed (extends void) external that have no destructors?

    #4104

    Mark Sibly
    Keymaster

    Try this:

    Method Destroy() Extension=”delete”

    This will convert blah.Destroy() to delete( blah ) in native code –  a bit sneaky but it appears to work.

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

You must be logged in to reply to this topic.