Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
4 tasks
v0dro opened this issue Aug 21, 2017 · 0 comments
Open
4 tasks

Comments

@v0dro
Copy link
Member

v0dro commented Aug 21, 2017

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.

@v0dro v0dro added this to the v0.2 milestone Aug 23, 2017
@v0dro v0dro modified the milestones: v0.2, v0.3 May 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant