hmmer-3.3/easel/esl_json.c
/* Function:  esl_json_MinSizeof()
 * Synopsis:  Returns minimum size required for a parse tree, in bytes
 */
esl_json_MinSizeof()
Synopsis:  Returns minimum size required for a parse tree, in bytes
esl_json_MinSizeof () Synopsis : Returns minimum size required for a parse tree in bytes
size_t
esl_json_MinSizeof(ESL_JSON *pi)
{
  size_t n = 0;
  n += sizeof(ESL_JSON);
  n += sizeof(ESL_JSON_TOK) * pi->ntok;
  return n;
}
size_t esl_json_MinSizeof ( ESL_JSON * pi ) { size_t n = 0 ; n += sizeof ( ESL_JSON ) ; n += sizeof ( ESL_JSON_TOK ) * pi -> ntok ; return n ; }
Function:  esl_json_MinSizeof()
 Synopsis:  Returns minimum size required for a parse tree, in bytes
Function : esl_json_MinSizeof () Synopsis : Returns minimum size required for a parse tree in bytes