Changeset 1730
- Timestamp:
- 02/11/11 18:05:29 (7 months ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
NEWS (modified) (1 diff)
-
src/napi5.c (modified) (1 diff)
-
test/napi_test.c (modified) (1 diff)
-
test/napi_test_cpp.cxx (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEWS
r1576 r1730 1 Version 4.3.0 2 ============= 3 4 If creating an external link you are no longer supposed to create the group 5 beforehand. As HDF5 can handle groups natively, that is counterproductive 6 and we would have to remove the empty group again (hoping that it is actually 7 empty that is). It is easier to create the group in the API if required. 8 1 9 Version 4.2.0 2 10 ============= -
trunk/src/napi5.c
r1729 r1730 2169 2169 fHandle->nxinitattrdir=NX5initattrdir; 2170 2170 fHandle->nxprintlink=NX5printlink; 2171 //fHandle->nxnativeexternallink=NX5nativeexternallink;2172 fHandle->nxnativeexternallink=NULL;2171 fHandle->nxnativeexternallink=NX5nativeexternallink; 2172 // fHandle->nxnativeexternallink=NULL; 2173 2173 } 2174 2174 -
trunk/test/napi_test.c
r1673 r1730 486 486 return 1; 487 487 } 488 if(NXmakegroup(hfil,"entry1","NXentry") != NX_OK){489 return 1; 490 } 488 /*if(NXmakegroup(hfil,"entry1","NXentry") != NX_OK){ 489 return 1; 490 }*/ 491 491 sprintf(nxfile,"nxfile://data/dmc01.%s#/entry1",ext); 492 492 if(NXlinkexternal(hfil,"entry1","NXentry",nxfile) != NX_OK){ 493 493 return 1; 494 494 } 495 if(NXmakegroup(hfil,"entry2","NXentry") != NX_OK){496 return 1; 497 } 495 /*if(NXmakegroup(hfil,"entry2","NXentry") != NX_OK){ 496 return 1; 497 }*/ 498 498 sprintf(nxfile,"nxfile://data/dmc02.%s#/entry1",ext); 499 499 if(NXlinkexternal(hfil,"entry2","NXentry",nxfile) != NX_OK){ -
trunk/test/napi_test_cpp.cxx
r1711 r1730 467 467 // create the external link 468 468 NeXus::File fileout(filename, create_code); 469 fileout.makeGroup("entry1", "NXentry");470 469 fileout.linkExternal("entry1", "NXentry", exturl1); 471 fileout.makeGroup("entry2", "NXentry");472 470 fileout.linkExternal("entry2", "NXentry", exturl2); 473 471 fileout.close();
Note: See TracChangeset
for help on using the changeset viewer.
