To select the appropriate
function, you should replace
X
in the generic function name astMapPut1
X
with a 1-character data type code, so as to match the data type
X
type
of the data you are processing, as follows:
- D: double
- F: float
- I: int
- C: "const" pointer to null terminated character string
- A: Pointer to AstObject
- P: Generic "void
" pointer
- S: short int
- B: Unsigned byte (i.e. char)
For example, astMapPut1D would be used to store "double" values,
while astMapPut1I would be used to store "int", etc.
Note that KeyMaps containing generic "void
" pointers cannot be
written out using astShowastShow or astWriteastWrite. An error will be reported if
this is attempted.