Skip to content

Add alignment to hsc2hs template

I think commonly used:

#let alignment t = "%lu", (unsigned long)offsetof(struct {char x__; t (y__); }, y__)

should be added to official hsc2hs template. What are cons to that?

Trac metadata
Trac field Value
Version 6.12.3
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler (FFI)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC mmitar@gmail.com
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information