* Use const-correct functions for the tagWrite.* stuff
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3322 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
785eb69c8b
commit
b60b1b121c
|
@ -1160,7 +1160,7 @@ bool tagWriteBool(element_t tag, bool val)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool tagWritefv(element_t tag, uint16_t count, float *vals)
|
||||
bool tagWritefv(element_t tag, uint16_t count, const float *vals)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
@ -1179,7 +1179,7 @@ bool tagWritefv(element_t tag, uint16_t count, float *vals)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool tagWrite8v(element_t tag, uint16_t count, uint8_t *vals)
|
||||
bool tagWrite8v(element_t tag, uint16_t count, const uint8_t *vals)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
@ -1198,7 +1198,7 @@ bool tagWrite8v(element_t tag, uint16_t count, uint8_t *vals)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool tagWrite16v(element_t tag, uint16_t count, uint16_t *vals)
|
||||
bool tagWrite16v(element_t tag, uint16_t count, const uint16_t *vals)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
@ -1217,7 +1217,7 @@ bool tagWrite16v(element_t tag, uint16_t count, uint16_t *vals)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool tagWrites32v(element_t tag, uint16_t count, int32_t *vals)
|
||||
bool tagWrites32v(element_t tag, uint16_t count, const int32_t *vals)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
|
@ -75,10 +75,10 @@ bool tagWriteSeparator();
|
|||
bool tagWrite(element_t tag, uint32_t val);
|
||||
bool tagWrites(element_t tag, int32_t val);
|
||||
bool tagWritef(element_t tag, float val);
|
||||
bool tagWritefv(element_t tag, uint16_t count, float *vals);
|
||||
bool tagWrite8v(element_t tag, uint16_t count, uint8_t *vals);
|
||||
bool tagWrite16v(element_t tag, uint16_t count, uint16_t *vals);
|
||||
bool tagWrites32v(element_t tag, uint16_t count, int32_t *vals);
|
||||
bool tagWritefv(element_t tag, uint16_t count, const float *vals);
|
||||
bool tagWrite8v(element_t tag, uint16_t count, const uint8_t *vals);
|
||||
bool tagWrite16v(element_t tag, uint16_t count, const uint16_t *vals);
|
||||
bool tagWrites32v(element_t tag, uint16_t count, const int32_t *vals);
|
||||
bool tagWriteString(element_t tag, const char *string);
|
||||
bool tagWriteBool(element_t tag, bool val);
|
||||
|
||||
|
|
Loading…
Reference in New Issue