~ubuntu-branches/ubuntu/precise/ncbi-tools6/precise

« back to all changes in this revision

Viewing changes to object/objres.c

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-03-27 12:00:15 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050327120015-embhesp32nj73p9r
Tags: 6.1.20041020-3
* Fix FTBFS under GCC 4.0 caused by inconsistent use of "static" on
  functions.  (Closes: #295110.)
* Add a watch file, now that we can.  (Upstream's layout needs version=3.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
*   
30
30
* Version Creation Date: 4/1/91
31
31
*
32
 
* $Revision: 6.4 $
 
32
* $Revision: 6.6 $
33
33
*
34
34
* File Description:  Object manager for module NCBI-Seqres
35
35
*
41
41
*
42
42
*
43
43
* $Log: objres.c,v $
 
44
* Revision 6.6  2004/05/12 20:41:56  kans
 
45
* set aip->io_failure in several erret blocks for compatibility of old object loaders with new ones
 
46
*
 
47
* Revision 6.5  2004/04/01 13:43:08  lavr
 
48
* Spell "occurred", "occurrence", and "occurring"
 
49
*
44
50
* Revision 6.4  1998/12/09 20:37:52  kans
45
51
* changed compl to compr to avoid new c++ symbol collision
46
52
*
328
334
*
329
335
*   SeqGraphAsnRead(aip, atp)
330
336
*       atp is the current type (if identifier of a parent struct)
331
 
*            assumption is readIdent has occured
 
337
*            assumption is readIdent has occurred
332
338
*       if atp == NULL, then assumes it stands alone and read ident
333
 
*            has not occured.
 
339
*            has not occurred.
334
340
*
335
341
*****************************************************************************/
336
342
NLM_EXTERN SeqGraphPtr LIBCALL SeqGraphAsnRead (AsnIoPtr aip, AsnTypePtr orig)
495
501
        AsnUnlinkType(orig);       /* unlink local tree */
496
502
        return sgp;
497
503
erret:
 
504
    aip->io_failure = TRUE;
498
505
    sgp = SeqGraphFree(sgp);
499
506
    goto ret;
500
507
}