Skip to content

Array of pointers #2305

Closed Answered by WerWolv
LoneMartian asked this question in Pattern Language Q&A
Jun 15, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote
struct Foo {
    u32 foo;
};

struct FooPtr {
    Foo *ptr : u64 [[inline]];
};

struct Bar {
    FooPtr foos[0xF];
};

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LoneMartian
Comment options

Answer selected by LoneMartian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants