Skip to content

Memory Allocation for dynamic arrays in structs #123

@brikhoang

Description

@brikhoang

I was wondering if you could look at this issue:

struct book_t {
uint32_t page;
};

struct sample {
struct book_t books[10];
};

This is a bit of an unusual use case, where a dynamic array is declared inside the structure, as opposed to simply declaring a pointer to a separately initialized array. I was wondering if you could add support for this particular case? I am trying to use your library with some other pre-existing code structures which cannot change. Any help in this regard would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions