How can you insert a julia struct into an array of a type in fortran?

Continued here: How do you correctly align array memory when using unsafe_store! to write a struct array to a c or fortran program?