# | Line 52 | Line 52 | struct RowAssignment { | |
---|---|---|
52 | uint32 ac; // accumulation count | |
53 | }; | |
54 | ||
55 | + | // Get format identifier |
56 | + | const char * |
57 | + | formstr(int f) |
58 | + | { |
59 | + | switch (f) { |
60 | + | case 'a': return("ascii"); |
61 | + | case 'f': return("float"); |
62 | + | case 'd': return("double"); |
63 | + | case 'c': return(NCSAMP==3 ? COLRFMT : SPECFMT); |
64 | + | } |
65 | + | return("unknown"); |
66 | + | } |
67 | + | |
68 | // Our default data share function | |
69 | RdataShare * | |
70 | defDataShare(const char *name, RCOutputOp op, size_t siz) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |