Skip to content

Error if type of special function for attached class is not what it should be #14

@v0dro

Description

@v0dro

For example, the deallocate function for attached classes must not take in arguments and must be of return type void. Similar constraints exist for the others as well. These must be adhered to.

  • deallocate function.
  • allocate function.
  • memcount function.
  • get_struct function.

Also, if the user fails to write a deallocate function the compiler must raise an error and state so.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions