| Revision: | 2.1 |
| Committed: | Sat Apr 19 17:12:59 2025 UTC (6 months, 1 week ago) by greg |
| Content type: | text/plain |
| Branch: | MAIN |
| CVS Tags: | rad6R0, HEAD |
| Log Message: | refactor: Isolated RMATRIX<->CMATRIX conversion routines |
| # | Content |
|---|---|
| 1 | #ifndef lint |
| 2 | static const char RCSid[] = "$Id$"; |
| 3 | #endif |
| 4 | /* |
| 5 | * Constants referenced from both cmatrix.o and rmatrix.o |
| 6 | */ |
| 7 | |
| 8 | #include "color.h" |
| 9 | |
| 10 | const char stdin_name[] = "<stdin>"; |
| 11 | |
| 12 | const char *cm_fmt_id[] = { |
| 13 | "unknown", COLRFMT, CIEFMT, SPECFMT, |
| 14 | "float", "ascii", "double" |
| 15 | }; |
| 16 | |
| 17 | const int cm_elem_size[] = { |
| 18 | 0, 4, 4, 0, 3*sizeof(float), 0, 3*sizeof(double) |
| 19 | }; |