int jas_stream_close ( jas_stream_t * stream ) {
 jas_stream_flush ( stream ) ;
 ( * stream -> ops_ -> close_ ) ( stream -> obj_ ) ;
 jas_stream_destroy ( stream ) ;
 return 0 ;
 }
int jas_stream_close ( jas_stream_t * stream ) {
 jas_stream_flush ( stream ) ;
 ( * stream -> ops_ -> close_ ) ( stream -> obj_ ) ;
 jas_stream_destroy ( stream ) ;
 return 0 ;
 }