Last change
on this file since 15854f1 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
|
Line | |
---|
1 | /*
|
---|
2 | ============================================================================
|
---|
3 | wordq.h -- header for word queue functions
|
---|
4 | Version 1 -- 1988-11-02 -- D.N. Lynx Crowe
|
---|
5 | ============================================================================
|
---|
6 | */
|
---|
7 |
|
---|
8 | #pragma once
|
---|
9 |
|
---|
10 | #include "stdint.h"
|
---|
11 |
|
---|
12 | struct wordq {
|
---|
13 |
|
---|
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 */
|
---|
20 | uint16_t *qbuf; /* base of queue */
|
---|
21 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.