Class: CFrida::Spawn

Inherits:
GObject show all
Defined in:
ext/c_frida/Spawn.c

Instance Method Summary collapse

Methods inherited from GObject

#off, #on

Instance Method Details

#identifierObject



40
41
42
43
# File 'ext/c_frida/Spawn.c', line 40

static VALUE Spawn_identifier(VALUE self)
{
    return (rb_ivar_get(self, rb_intern("identifier")));
}

#inspectObject Also known as: to_s



18
19
20
21
22
23
24
25
# File 'ext/c_frida/Spawn.c', line 18

static VALUE Spawn_inspect(VALUE self)
{
    VALUE s;

    s = rb_sprintf("#<Spawn: pid=%+"PRIsVALUE", identifier=%+"PRIsVALUE">", \
                   rb_funcall(self, rb_intern("pid"), 0, NULL),  rb_funcall(self, rb_intern("identifier"), 0, NULL));
    return (s);
}

#pidObject



31
32
33
34
# File 'ext/c_frida/Spawn.c', line 31

static VALUE Spawn_pid(VALUE self)
{
    return (rb_ivar_get(self, rb_intern("pid")));
}