Sha256: f6870e135dcaf5789e4143a42e99ccb6179ae53359ebedd7022f8fb61d72b18c
Contents?: true
Size: 527 Bytes
Versions: 6
Compression:
Stored size: 527 Bytes
Contents
# frozen_string_literal: true module Rails # :nodoc: module GraphQL # :nodoc: module Native # :nodoc: # This helps to make sure that any parser error is correctly initialized # and easy to ready. It also release the error using GC. class ParseError < FFI::MemoryPointer def initialize(*) super(:pointer) end def to_s empty? ? '' : read_pointer.read_string end def empty? read_pointer.null? end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems