class JavaScriptCore::ClassVTable

Overview

Virtual table for a JSCClass. This can be optionally used when registering a #JSCClass in a #JSCContext to provide a custom implementation for the class. All virtual functions are optional and can be set to %NULL to fallback to the default implementation.

Defined in:

lib/gi-crystal/src/auto/java_script_core-5.0/class_v_table.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

def self.new(get_property : JavaScriptCore::ClassGetPropertyFunction? = nil, set_property : JavaScriptCore::ClassSetPropertyFunction? = nil, has_property : JavaScriptCore::ClassHasPropertyFunction? = nil, delete_property : JavaScriptCore::ClassDeletePropertyFunction? = nil, enumerate_properties : JavaScriptCore::ClassEnumeratePropertiesFunction? = nil, _jsc_reserved0 : Pointer(Void)? = nil, _jsc_reserved1 : Pointer(Void)? = nil, _jsc_reserved2 : Pointer(Void)? = nil, _jsc_reserved3 : Pointer(Void)? = nil) #

Instance Method Detail

def ==(other : self) : Bool #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def _jsc_reserved0 : Pointer(Void)? #

def _jsc_reserved0! #

def _jsc_reserved0=(value : Pointer(Void)?) #

def _jsc_reserved1 : Pointer(Void)? #

def _jsc_reserved1! #

def _jsc_reserved1=(value : Pointer(Void)?) #

def _jsc_reserved2 : Pointer(Void)? #

def _jsc_reserved2! #

def _jsc_reserved2=(value : Pointer(Void)?) #

def _jsc_reserved3 : Pointer(Void)? #

def _jsc_reserved3! #

def _jsc_reserved3=(value : Pointer(Void)?) #


def delete_property=(value : JavaScriptCore::ClassDeletePropertyFunction) #


def enumerate_properties=(value : JavaScriptCore::ClassEnumeratePropertiesFunction) #


def get_property=(value : JavaScriptCore::ClassGetPropertyFunction) #


def has_property=(value : JavaScriptCore::ClassHasPropertyFunction) #


def set_property=(value : JavaScriptCore::ClassSetPropertyFunction) #

def to_unsafe #