mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-17 09:02:25 +00:00
fix comments
This commit is contained in:
parent
4224ac5ca0
commit
6951f3dfcc
1 changed files with 4 additions and 2 deletions
6
gmqcc.h
6
gmqcc.h
|
@ -300,14 +300,16 @@ uint16_t util_crc16(uint16_t crc, const char *data, size_t len);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* A flexible vector implementation: all vector pointers contain some
|
* A flexible vector implementation: all vector pointers contain some
|
||||||
* data baout themselfs exactly - sizeof(vector_t) behind the pointer
|
* data about themselfs exactly - sizeof(vector_t) behind the pointer
|
||||||
* this data is represented in the structure below. Doing this allows
|
* this data is represented in the structure below. Doing this allows
|
||||||
* use to use the array [] to access individual data from the vector
|
* us to use the array [] to access individual elements from the vector
|
||||||
* opposed to using set/get methods.
|
* opposed to using set/get methods.
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
size_t allocated;
|
size_t allocated;
|
||||||
size_t used;
|
size_t used;
|
||||||
|
|
||||||
|
/* can be extended now! whoot */
|
||||||
} vector_t;
|
} vector_t;
|
||||||
|
|
||||||
/* hidden interface */
|
/* hidden interface */
|
||||||
|
|
Loading…
Reference in a new issue