Last change
on this file since 06f6615 was 5fa506d, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Include file cleanup.
|
-
Property mode
set to
100644
|
File size:
1016 bytes
|
Rev | Line | |
---|
[f40a309] | 1 | /*
|
---|
| 2 | =============================================================================
|
---|
| 3 | slice.h -- slice data structure
|
---|
| 4 | Version 4 -- 1988-09-23 -- D.N. Lynx Crowe
|
---|
| 5 | =============================================================================
|
---|
| 6 | */
|
---|
| 7 |
|
---|
[f7428b1] | 8 | #pragma once
|
---|
[5fa506d] | 9 |
|
---|
[f7428b1] | 10 | #include "stdint.h"
|
---|
| 11 |
|
---|
[f40a309] | 12 | #define MAXFSL 256 /* size of the gdsel free list */
|
---|
| 13 | #define NGDSEL 17 /* number of gdstb elements */
|
---|
| 14 |
|
---|
| 15 | #define I_SBASE 0 /* initial sbase value */
|
---|
| 16 | #define I_OFFSET 0 /* initial soffset value */
|
---|
| 17 |
|
---|
| 18 | struct gdsel {
|
---|
| 19 |
|
---|
| 20 | struct gdsel *next; /* pointer to next element */
|
---|
[7258c6a] | 21 | int16_t note; /* note offset 0..87 */
|
---|
| 22 | int16_t code; /* update code */
|
---|
[f40a309] | 23 | };
|
---|
| 24 |
|
---|
| 25 | /*
|
---|
| 26 | =============================================================================
|
---|
| 27 | WARNING: the 'next' pointer in the gdsel structure MUST be the first
|
---|
| 28 | long word of the structure, as it is assumed to be there by the element
|
---|
| 29 | deletion code in uslice. Moving it would be a real disaster, so don't.
|
---|
| 30 | =============================================================================
|
---|
| 31 | */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.