/** * Reads a C long integer value from the memory area. * * @param offset The offset from the base pointer address to read the value. * @return The value read. */ @JRubyMethod(name = "get_long", required = 1) public IRubyObject get_long(ThreadContext context, IRubyObject offset) { return Platform.getPlatform().longSize() == 32 ? get_int32(context, offset) : get_int64(context, offset); }
/** * Reads a C long integer value from the memory area. * * @return The value read. */ @JRubyMethod(name = { "get_long" }) public IRubyObject get_long(ThreadContext context) { return Platform.getPlatform().longSize() == 32 ? get_int32(context) : get_int64(context); }
/** * Reads a C long integer value from the memory area. * * @param offset The offset from the base pointer address to read the value. * @return The value read. */ @JRubyMethod(name = "get_long", required = 1) public IRubyObject get_long(ThreadContext context, IRubyObject offset) { return Platform.getPlatform().longSize() == 32 ? get_int32(context, offset) : get_int64(context, offset); }
/** * Reads a C long integer value from the memory area. * * @param offset The offset from the base pointer address to read the value. * @return The value read. */ @JRubyMethod(name = "get_long", required = 1) public IRubyObject get_long(ThreadContext context, IRubyObject offset) { return Platform.getPlatform().longSize() == 32 ? get_int32(context, offset) : get_int64(context, offset); }
/** * Reads a C long integer value from the memory area. * * @return The value read. */ @JRubyMethod(name = { "get_long" }) public IRubyObject get_long(ThreadContext context) { return Platform.getPlatform().longSize() == 32 ? get_int32(context) : get_int64(context); }
/** * Reads a C long integer value from the memory area. * * @return The value read. */ @JRubyMethod(name = { "get_long" }) public IRubyObject get_long(ThreadContext context) { return Platform.getPlatform().longSize() == 32 ? get_int32(context) : get_int64(context); }
/** * Reads a C long integer value from the memory area. * * @return The value read. */ @JRubyMethod(name = { "get_long" }) public IRubyObject get_long(ThreadContext context) { return Platform.getPlatform().longSize() == 32 ? get_int32(context) : get_int64(context); }
/** * Reads a C long integer value from the memory area. * * @param offset The offset from the base pointer address to read the value. * @return The value read. */ @JRubyMethod(name = "get_long", required = 1) public IRubyObject get_long(ThreadContext context, IRubyObject offset) { return Platform.getPlatform().longSize() == 32 ? get_int32(context, offset) : get_int64(context, offset); }