To select the appropriate
function, you should replace
X
in the generic function name astMapPut0
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. unsigned char)
For example, astMapPut0D would be used to store a "double" value,
while astMapPut0I would be used to store an "int", etc.
Note that KeyMaps containing generic "void
" pointers cannot be
written out using astShow or astWrite. An error will be reported if
this is attempted.