$z Fields in Extern Types?

BlitzMax Forums/BlitzMax Programming/$z Fields in Extern Types?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Where an Extern'ed type uses a char* as a class/struct member, can I use a $z field as in an Extern'ed Type or do I have to set it as a byte ptr and retrieve the string from there manually?

There's not much info on extern'ed types, so I thought I'd better ask. I'm assuming no, because there would be nowhere for BlitzMax to put the string. Moreover, if it did add the string automatically, it would unalign subsequent fields, breaking the whole purpose of extern'ed types.

But hey, doesn't hurt to ask.