Specify alignment for procedure definitions

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
void
Enthusiast
Enthusiast
Posts: 116
Joined: Sat Aug 27, 2011 9:50 pm
Location: Washington, USA

Specify alignment for procedure definitions

Post by void »

Presently we can specify alignment for data elements, but cannot specify alignment for procedures.

One of my projects would benefit from this, and while there are workarounds (such as using an aligned target as an intermediary, or editing the assembly output to add the align directives by hand), they're uglier and more effort intensive than the ability to simply precede a procedure with !align 4 or something similar, or set a compiler default.

Any chance of this?