Last change
on this file since 3c45656 was 7bb1284, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Signed integers in wordq struct.
|
-
Property mode
set to
100644
|
File size:
579 bytes
|
Rev | Line | |
---|
[f40a309] | 1 | /*
|
---|
| 2 | ============================================================================
|
---|
| 3 | wordq.h -- header for word queue functions
|
---|
| 4 | Version 1 -- 1988-11-02 -- D.N. Lynx Crowe
|
---|
| 5 | ============================================================================
|
---|
| 6 | */
|
---|
| 7 |
|
---|
[f7428b1] | 8 | #pragma once
|
---|
[5fa506d] | 9 |
|
---|
[f7428b1] | 10 | #include "stdint.h"
|
---|
| 11 |
|
---|
[f40a309] | 12 | struct wordq {
|
---|
| 13 |
|
---|
[7bb1284] | 14 | int16_t qsize; /* maximum queue length */
|
---|
| 15 | int16_t qlen; /* current queue length */
|
---|
| 16 | int16_t qin; /* in pointer */
|
---|
| 17 | int16_t qout; /* out pointer */
|
---|
| 18 | int16_t qhi; /* high water mark */
|
---|
| 19 | int16_t qlo; /* low water mark */
|
---|
[7258c6a] | 20 | uint16_t *qbuf; /* base of queue */
|
---|
[f40a309] | 21 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.