| 67 | static const UCHAR* get_range(const UCHAR*, array_range*, SLONG*, SLONG*); |
| 68 | |
| 69 | inline SSHORT get_word(const UCHAR*& ptr) |
| 70 | { |
| 71 | /************************************** |
| 72 | * |
| 73 | * g e t _ w o r d |
| 74 | * |
| 75 | ************************************** |
| 76 | * |
| 77 | * Functional description |
| 78 | * gather a int16 from two little-endian |
| 79 | * unsigned chars and advance the pointer |
| 80 | * |
| 81 | **************************************/ |
| 82 | SSHORT n = *ptr++; |
| 83 | n |= (*ptr++) << 8; |
| 84 | |
| 85 | return n; |
| 86 | } |
| 87 | |
| 88 | static const UCHAR* sdl_desc(const UCHAR*, DSC*); |
| 89 | static IPTR* stuff(IPTR, sdl_arg*); |