Mercurial > cgi-bin > hgwebdir.cgi > VMS > C_Libraries > Queue_impl
comparison PrivateQueue.h @ 40:cb29e773f76f
removed extraneous definition of DynArrayFnPtr..
| author | Sean Halle <seanhalle@yahoo.com> |
|---|---|
| date | Tue, 11 Sep 2012 04:19:51 -0700 |
| parents | b9cb01d8ce56 |
| children | 8fcbe46de60a |
comparison
equal
deleted
inserted
replaced
| 16:0b542334c041 | 17:abc084261ca0 |
|---|---|
| 27 void **startOfData; //data is pointers | 27 void **startOfData; //data is pointers |
| 28 void **endOfData; //set when alloc data | 28 void **endOfData; //set when alloc data |
| 29 } | 29 } |
| 30 PrivQueueStruc; | 30 PrivQueueStruc; |
| 31 | 31 |
| 32 typedef void (*DynArrayFnPtr) ( void * ); //fn has to cast void * | |
| 33 | |
| 34 PrivQueueStruc* makePrivQ ( ); | 32 PrivQueueStruc* makePrivQ ( ); |
| 35 bool32 isEmptyPrivQ ( PrivQueueStruc *Q ); //ret TRUE if empty | 33 bool32 isEmptyPrivQ ( PrivQueueStruc *Q ); //ret TRUE if empty |
| 36 void* peekPrivQ ( PrivQueueStruc *Q ); //ret NULL if empty | 34 void* peekPrivQ ( PrivQueueStruc *Q ); //ret NULL if empty |
| 37 void* readPrivQ ( PrivQueueStruc *Q ); //ret NULL if empty | 35 void* readPrivQ ( PrivQueueStruc *Q ); //ret NULL if empty |
| 38 void writePrivQ( void *in, PrivQueueStruc *Q ); | 36 void writePrivQ( void *in, PrivQueueStruc *Q ); |
