FreeBSD/contrib/subversion/subversion/libsvn_ra_svn/marshal.c
/* In *RESULT, return the revision at index IDX in tuple ITEMS.
 */
In *RESULT, return the revision at index IDX in tuple ITEMS.
In * RESULT return the revision at index IDX in tuple ITEMS .
static svn_error_t *
svn_ra_svn__read_revision(const apr_array_header_t *items,
                          int idx,
                          svn_revnum_t *result)
{
  svn_ra_svn_item_t *elt = &APR_ARRAY_IDX(items, idx, svn_ra_svn_item_t);
  CHECK_PROTOCOL_COND(elt->kind == SVN_RA_SVN_NUMBER);
  *result = (svn_revnum_t)elt->u.number;
  return SVN_NO_ERROR;
}
static svn_error_t * svn_ra_svn__read_revision ( const apr_array_header_t * items , int idx , svn_revnum_t * result ) { svn_ra_svn_item_t * elt = & APR_ARRAY_IDX ( items , idx , svn_ra_svn_item_t ) ; CHECK_PROTOCOL_COND ( elt -> kind == SVN_RA_SVN_NUMBER ) ; * result = ( svn_revnum_t ) elt -> u . number ; return SVN_NO_ERROR ; }
In *RESULT, return the revision at index IDX in tuple ITEMS.
In * RESULT return the revision at index IDX in tuple ITEMS .