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

Structures #4

Open
ericlass opened this issue Apr 15, 2020 · 0 comments
Open

Structures #4

ericlass opened this issue Apr 15, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ericlass
Copy link
Owner

It is required to have structures to be able to group data and do more interop with APIs that use structs. Things required to be done:

  • Definition of structs with members (fields, methods)
  • Access to members with . operator
    • Read field values
    • Assign field values
    • Call methods
  • Access modifiers for members, for now public (pub) and private (private is default and not written)
  • Memory layout (packed, aligned, padding)
  • Usage of this is required to access fields in methods

Maybe need to split the issue into multiple.

@ericlass ericlass added the enhancement New feature or request label Apr 15, 2020
@ericlass ericlass added this to the v1.0 milestone Apr 15, 2020
@ericlass ericlass self-assigned this Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant