Changeset 2369 in Sophya for trunk/ArchTOIPipe/Kernel
- Timestamp:
- Apr 24, 2003, 3:22:26 PM (22 years ago)
- Location:
- trunk/ArchTOIPipe/Kernel
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Kernel/Makefile.in
r2359 r2369 57 57 58 58 ifeq ($(USE_PIOLIB),1) 59 PIOFILES := piotoirdr.cc 59 PIOFILES := piotoirdr.cc piotoiwtr.cc 60 60 else 61 61 PIOFILES := -
trunk/ArchTOIPipe/Kernel/piotoirdr.cc
r2359 r2369 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: piotoirdr.cc,v 1. 3 2003-04-01 13:27:48aubourg Exp $5 // $Id: piotoirdr.cc,v 1.4 2003-04-24 13:22:26 aubourg Exp $ 6 6 7 7 #include "piotoirdr.h" … … 61 61 pioGroup); 62 62 63 // On recupere un tableau de beginIndex, mais si on en croit 64 // la doc, dans un groupe, tout le monde a les memes bornes, donc 65 // on peut lire le premier ? 66 67 snBegin = beginIndex[0]; 68 snEnd = endIndex[0]; 63 // On recupere un tableau de beginIndex, il faut retrouver celui qui nous concerne 64 for (int i=0; i<nbTOI; i++) { 65 cout << toiName[i] << endl; 66 if (object == toiName[i]) { 67 snBegin = beginIndex[i]; 68 snEnd = endIndex[i]; 69 cout << snBegin << " " << snEnd << endl; 70 break; 71 } 72 } 69 73 70 74 PIOFreeInfoTOI(flgName, … … 115 119 fits_lock(); 116 120 PIODeleteTOI(data, pioGroup); 117 if (flags != NULL) PIODeleteFLG(flags, pioGroup);121 // if (flags != NULL) PIODeleteFLG(flags, pioGroup); // PB ! 118 122 fits_unlock(); 119 123 } -
trunk/ArchTOIPipe/Kernel/piotoirdr.h
r2328 r2369 5 5 // Christophe Magneville 6 6 // Reza Ansari 7 // $Id: piotoirdr.h,v 1. 1 2003-02-24 09:18:01aubourg Exp $7 // $Id: piotoirdr.h,v 1.2 2003-04-24 13:22:26 aubourg Exp $ 8 8 9 9 #ifndef PIOTOIRDR_H … … 15 15 16 16 #include "HL2_PIOLIB/PIOLib.h" 17 // #include "HL2_PIOLIB/PIOCpp.h" // BUGGY !! Ne marche pas !!!18 17 19 18 /* Missing from PIO headers... */ 19 extern "C" { 20 20 PIOErr PIOFreeInfoTOI( 21 21 PIOSTRING *FLGname, … … 37 37 PIOGroup *MyGroup /* Input : opened group reference */ 38 38 ); 39 39 } 40 40 /* End missing */ 41 41
Note:
See TracChangeset
for help on using the changeset viewer.