Logo Search packages:      
Sourcecode: jmp version File versions  Download package

methodtime.c

#include <methodtime.h>

/** Check if a methodtime is zero 
 * @param mt the methodtime to check.
 * @return true if all time values of mt is zero.
 */
int methodtime_is_zero (methodtime* mt) {
    return mt->tv == 0 &&
      mt->tv_hold == 0;
}

/* Emacs Local Variables: */
/* Emacs mode:C */
/* Emacs c-indentation-style:"gnu" */
/* Emacs c-hanging-braces-alist:((brace-list-open)(brace-entry-open)(defun-open after)(substatement-open after)(block-close . c-snug-do-while)(extern-lang-open after)) */
/* Emacs c-cleanup-list:(brace-else-brace brace-elseif-brace space-before-funcall) */
/* Emacs c-basic-offset:4 */
/* Emacs End: */

Generated by  Doxygen 1.6.0   Back to index