What is an attribute?


Up: Tools for writing libraries Next: Examples of using attributes Previous: Attributes

In C, an attribute is a pointer of type void *. You must allocate storage for the attribute to point to (make sure that you don't use the address of a local variable).

In Fortran, it is a single INTEGER.



Up: Tools for writing libraries Next: Examples of using attributes Previous: Attributes