ext/laplace/laplace.c
/*
 * call-seq:
 *	laplace.enabled? -> bool
 *
 *  Returns whether the tracepoint is enabled or not.
 */


Returns whether the tracepoint is enabled or not.
Returns whether the tracepoint is enabled or not .
static VALUE
laplace_enabled_p(VALUE self)
{
    int r;
    struct laplace_object *tobj;
    GetLaplaceVal(self, tobj);
    return __atomic_load_n(&tobj->enabled, __ATOMIC_SEQ_CST) ? Qtrue : Qfalse;
}
static VALUE laplace_enabled_p ( VALUE self ) { int r ; struct laplace_object * tobj ; GetLaplaceVal ( self , tobj ) ; return __atomic_load_n ( & tobj -> enabled , __ATOMIC_SEQ_CST ) ? Qtrue : Qfalse ; }
call-seq:
      laplace.enabled?
call - seq : laplace . enabled?