Array of pointers #2305
Array of pointers
#2305
Replies: 1 comment 1 reply
-
struct Foo {
u32 foo;
};
struct FooPtr {
Foo *ptr : u64 [[inline]];
};
struct Bar {
FooPtr foos[0xF];
}; |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
LoneMartian
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How do I declare an array of pointers? If I write:
I get a struct of size
0x8
, whereas what I wanted was a struct of size0x78
.Beta Was this translation helpful? Give feedback.
All reactions