Marco Zocca <[email protected]> writes: > Dear all, > > I am trying to write a petsc foreign-function wrapper for a different > language. > What I don't understand at the moment is the role of macros in setting > up structs. For example, in the implementation of Vec summarised > below, when and how is PETSCHEADER expanded?
It's expanded by the C Preprocessor. But why are you looking at this? Those are private headers not even available to C callers. Why do you feel compelled to access these from a different language?
signature.asc
Description: PGP signature
