Changeset 41395 for trunk/Ohana/src/libfits/table/F_set_column.c
- Timestamp:
- Aug 7, 2020, 2:06:23 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/libfits/table/F_set_column.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libfits/table/F_set_column.c
r41341 r41395 338 338 339 339 SET_VALUES("char", char, "char", char, SWAP_NONE, 1); 340 SET_VALUES("byte", char, "char", char, SWAP_NONE, 1);340 SET_VALUES("byte", byte, "char", char, SWAP_NONE, 1); 341 341 SET_VALUES("short", short, "char", char, SWAP_BYTE, 1); 342 342 SET_VALUES("int", int, "char", char, SWAP_WORD, 1); … … 345 345 SET_VALUES("double", double, "char", char, SWAP_DBLE, 1); 346 346 347 SET_VALUES("char", char, "byte", char, SWAP_NONE, 1);348 SET_VALUES("byte", char, "byte", char, SWAP_NONE, 1);349 SET_VALUES("short", short, "byte", char, SWAP_BYTE, 1);350 SET_VALUES("int", int, "byte", char, SWAP_WORD, 1);351 SET_VALUES("int64_t", int64_t, "byte", char, SWAP_DBLE, 1);352 SET_VALUES("float", float, "byte", char, SWAP_WORD, 1);353 SET_VALUES("double", double, "byte", char, SWAP_DBLE, 1);347 SET_VALUES("char", char, "byte", byte, SWAP_NONE, 1); 348 SET_VALUES("byte", byte, "byte", byte, SWAP_NONE, 1); 349 SET_VALUES("short", short, "byte", byte, SWAP_BYTE, 1); 350 SET_VALUES("int", int, "byte", byte, SWAP_WORD, 1); 351 SET_VALUES("int64_t", int64_t, "byte", byte, SWAP_DBLE, 1); 352 SET_VALUES("float", float, "byte", byte, SWAP_WORD, 1); 353 SET_VALUES("double", double, "byte", byte, SWAP_DBLE, 1); 354 354 355 355 SET_VALUES("char", char, "short", short, SWAP_NONE, 2); 356 SET_VALUES("byte", char, "short", short, SWAP_NONE, 2);356 SET_VALUES("byte", byte, "short", short, SWAP_NONE, 2); 357 357 SET_VALUES("short", short, "short", short, SWAP_BYTE, 2); 358 358 SET_VALUES("int", int, "short", short, SWAP_WORD, 2); … … 362 362 363 363 SET_VALUES("char", char, "int", int, SWAP_NONE, 4); 364 SET_VALUES("byte", char, "int", int, SWAP_NONE, 4);364 SET_VALUES("byte", byte, "int", int, SWAP_NONE, 4); 365 365 SET_VALUES("short", short, "int", int, SWAP_BYTE, 4); 366 366 SET_VALUES("int", int, "int", int, SWAP_WORD, 4); … … 370 370 371 371 SET_VALUES("char", char, "int64_t", int64_t, SWAP_NONE, 8); 372 SET_VALUES("byte", char, "int64_t", int64_t, SWAP_NONE, 8);372 SET_VALUES("byte", byte, "int64_t", int64_t, SWAP_NONE, 8); 373 373 SET_VALUES("short", short, "int64_t", int64_t, SWAP_BYTE, 8); 374 374 SET_VALUES("int", int, "int64_t", int64_t, SWAP_WORD, 8); … … 378 378 379 379 SET_VALUES("char", char, "float", float, SWAP_NONE, 4); 380 SET_VALUES("byte", char, "float", float, SWAP_NONE, 4);380 SET_VALUES("byte", byte, "float", float, SWAP_NONE, 4); 381 381 SET_VALUES("short", short, "float", float, SWAP_BYTE, 4); 382 382 SET_VALUES("int", int, "float", float, SWAP_WORD, 4); … … 386 386 387 387 SET_VALUES("char", char, "double", double, SWAP_NONE, 8); 388 SET_VALUES("byte", char, "double", double, SWAP_NONE, 8);388 SET_VALUES("byte", byte, "double", double, SWAP_NONE, 8); 389 389 SET_VALUES("short", short, "double", double, SWAP_BYTE, 8); 390 390 SET_VALUES("int", int, "double", double, SWAP_WORD, 8);
Note:
See TracChangeset
for help on using the changeset viewer.
