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

Using undefined types “matvar_internal” #228

Closed
Hexiangkun opened this issue Nov 25, 2023 · 1 comment
Closed

Using undefined types “matvar_internal” #228

Hexiangkun opened this issue Nov 25, 2023 · 1 comment
Labels

Comments

@Hexiangkun
Copy link

I encountered an error when using (struct matvar_internal *internal; ) variables,
eg:
matvar_t *var;
int num = var->internal->num_fields

@tbeu
Copy link
Owner

tbeu commented Nov 25, 2023

This is by design: internal struct components shall not be accessed.

@tbeu tbeu closed this as completed Nov 25, 2023
@tbeu tbeu added the invalid label Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants