public interface JSC
extends com.sun.jna.Library
Modifier and Type | Interface and Description |
---|---|
static class |
JSC.JSClassDefinition
Data to create new JSC class definition.
|
Modifier and Type | Method and Description |
---|---|
com.sun.jna.Pointer |
JSClassCreate(JSC.JSClassDefinition def) |
com.sun.jna.Pointer |
JSContextGetGlobalObject(com.sun.jna.Pointer ctx) |
com.sun.jna.Pointer |
JSEvaluateScript(com.sun.jna.Pointer ctx,
com.sun.jna.Pointer script,
com.sun.jna.Pointer thisObject,
com.sun.jna.Pointer sourceURL,
int startingLineNumber,
com.sun.jna.ptr.PointerByReference exception) |
com.sun.jna.Pointer |
JSObjectCallAsFunction(com.sun.jna.Pointer ctx,
com.sun.jna.Pointer object,
com.sun.jna.Pointer thisObject,
int argumentCount,
com.sun.jna.Pointer[] arguments,
com.sun.jna.ptr.PointerByReference exception) |
java.lang.Object |
JSObjectGetPrivate(com.sun.jna.Pointer object) |
com.sun.jna.Pointer |
JSObjectGetProperty(com.sun.jna.Pointer ctx,
com.sun.jna.Pointer object,
com.sun.jna.Pointer propertyName,
com.sun.jna.ptr.PointerByReference exception) |
com.sun.jna.Pointer |
JSObjectGetPropertyAtIndex(com.sun.jna.Pointer ctx,
com.sun.jna.Pointer object,
int propertyIndex,
com.sun.jna.ptr.PointerByReference exception) |
com.sun.jna.Pointer |
JSObjectMake(com.sun.jna.Pointer ctx,
com.sun.jna.Pointer jsClass,
java.lang.Object data) |
com.sun.jna.Pointer |
JSObjectMakeArray(com.sun.jna.Pointer ctx,
int argumentCount,
com.sun.jna.Pointer[] data,
com.sun.jna.ptr.PointerByReference exception) |
com.sun.jna.Pointer |
JSObjectMakeFunction(com.sun.jna.Pointer ctx,
com.sun.jna.Pointer name,
int parameterCount,
com.sun.jna.Pointer[] parameterNames,
com.sun.jna.Pointer body,
com.sun.jna.Pointer sourceURL,
int startingLineNumber,
com.sun.jna.ptr.PointerByReference exception) |
com.sun.jna.Pointer |
JSObjectMakeFunctionWithCallback(com.sun.jna.Pointer ctx,
com.sun.jna.Pointer name,
com.sun.jna.Callback callAsFunction) |
void |
JSObjectSetProperty(com.sun.jna.Pointer ctx,
com.sun.jna.Pointer object,
com.sun.jna.Pointer propertyName,
com.sun.jna.Pointer value,
int attributes,
com.sun.jna.ptr.PointerByReference exception) |
com.sun.jna.Pointer |
JSStringCreateWithUTF8CString(java.lang.String s) |
int |
JSStringGetMaximumUTF8CStringSize(com.sun.jna.Pointer string) |
int |
JSStringGetUTF8CString(com.sun.jna.Pointer string,
com.sun.jna.Memory mem,
int bufferSize) |
boolean |
JSStringIsEqual(com.sun.jna.Pointer a,
com.sun.jna.Pointer b) |
boolean |
JSStringIsEqualToUTF8CString(com.sun.jna.Pointer a,
java.lang.String b) |
com.sun.jna.Pointer |
JSStringRelease(com.sun.jna.Pointer string) |
com.sun.jna.Pointer |
JSStringRetain(com.sun.jna.Pointer string) |
int |
JSValueGetType(com.sun.jna.Pointer ctx,
com.sun.jna.Pointer value) |
boolean |
JSValueIsObjectOfClass(com.sun.jna.Pointer ctx,
com.sun.jna.Pointer value,
com.sun.jna.Pointer jsClass) |
com.sun.jna.Pointer |
JSValueMakeBoolean(com.sun.jna.Pointer ctx,
boolean val) |
com.sun.jna.Pointer |
JSValueMakeNull(com.sun.jna.Pointer ctx) |
com.sun.jna.Pointer |
JSValueMakeNumber(com.sun.jna.Pointer ctx,
double number) |
com.sun.jna.Pointer |
JSValueMakeString(com.sun.jna.Pointer ctx,
com.sun.jna.Pointer string) |
void |
JSValueProtect(com.sun.jna.Pointer ctx,
com.sun.jna.Pointer value) |
double |
JSValueToNumber(com.sun.jna.Pointer ctx,
com.sun.jna.Pointer value,
com.sun.jna.ptr.PointerByReference exception) |
com.sun.jna.Pointer |
JSValueToObject(com.sun.jna.Pointer ctx,
com.sun.jna.Pointer value,
com.sun.jna.ptr.PointerByReference exception) |
com.sun.jna.Pointer |
JSValueToStringCopy(com.sun.jna.Pointer ctx,
com.sun.jna.Pointer value,
com.sun.jna.ptr.PointerByReference exception) |
void |
JSValueUnprotect(com.sun.jna.Pointer ctx,
com.sun.jna.Pointer value) |
com.sun.jna.Pointer JSClassCreate(JSC.JSClassDefinition def)
boolean JSValueIsObjectOfClass(com.sun.jna.Pointer ctx, com.sun.jna.Pointer value, com.sun.jna.Pointer jsClass)
com.sun.jna.Pointer JSContextGetGlobalObject(com.sun.jna.Pointer ctx)
com.sun.jna.Pointer JSStringCreateWithUTF8CString(java.lang.String s)
com.sun.jna.Pointer JSStringRetain(com.sun.jna.Pointer string)
com.sun.jna.Pointer JSStringRelease(com.sun.jna.Pointer string)
int JSStringGetMaximumUTF8CStringSize(com.sun.jna.Pointer string)
int JSStringGetUTF8CString(com.sun.jna.Pointer string, com.sun.jna.Memory mem, int bufferSize)
boolean JSStringIsEqual(com.sun.jna.Pointer a, com.sun.jna.Pointer b)
boolean JSStringIsEqualToUTF8CString(com.sun.jna.Pointer a, java.lang.String b)
com.sun.jna.Pointer JSEvaluateScript(com.sun.jna.Pointer ctx, com.sun.jna.Pointer script, com.sun.jna.Pointer thisObject, com.sun.jna.Pointer sourceURL, int startingLineNumber, com.sun.jna.ptr.PointerByReference exception)
void JSObjectSetProperty(com.sun.jna.Pointer ctx, com.sun.jna.Pointer object, com.sun.jna.Pointer propertyName, com.sun.jna.Pointer value, int attributes, com.sun.jna.ptr.PointerByReference exception)
com.sun.jna.Pointer JSObjectGetProperty(com.sun.jna.Pointer ctx, com.sun.jna.Pointer object, com.sun.jna.Pointer propertyName, com.sun.jna.ptr.PointerByReference exception)
com.sun.jna.Pointer JSObjectGetPropertyAtIndex(com.sun.jna.Pointer ctx, com.sun.jna.Pointer object, int propertyIndex, com.sun.jna.ptr.PointerByReference exception)
com.sun.jna.Pointer JSObjectMakeFunctionWithCallback(com.sun.jna.Pointer ctx, com.sun.jna.Pointer name, com.sun.jna.Callback callAsFunction)
com.sun.jna.Pointer JSObjectMakeFunction(com.sun.jna.Pointer ctx, com.sun.jna.Pointer name, int parameterCount, com.sun.jna.Pointer[] parameterNames, com.sun.jna.Pointer body, com.sun.jna.Pointer sourceURL, int startingLineNumber, com.sun.jna.ptr.PointerByReference exception)
com.sun.jna.Pointer JSObjectCallAsFunction(com.sun.jna.Pointer ctx, com.sun.jna.Pointer object, com.sun.jna.Pointer thisObject, int argumentCount, com.sun.jna.Pointer[] arguments, com.sun.jna.ptr.PointerByReference exception)
com.sun.jna.Pointer JSValueMakeNull(com.sun.jna.Pointer ctx)
com.sun.jna.Pointer JSValueMakeBoolean(com.sun.jna.Pointer ctx, boolean val)
com.sun.jna.Pointer JSValueMakeNumber(com.sun.jna.Pointer ctx, double number)
com.sun.jna.Pointer JSValueMakeString(com.sun.jna.Pointer ctx, com.sun.jna.Pointer string)
com.sun.jna.Pointer JSObjectMakeArray(com.sun.jna.Pointer ctx, int argumentCount, com.sun.jna.Pointer[] data, com.sun.jna.ptr.PointerByReference exception)
com.sun.jna.Pointer JSObjectMake(com.sun.jna.Pointer ctx, com.sun.jna.Pointer jsClass, java.lang.Object data)
java.lang.Object JSObjectGetPrivate(com.sun.jna.Pointer object)
int JSValueGetType(com.sun.jna.Pointer ctx, com.sun.jna.Pointer value)
double JSValueToNumber(com.sun.jna.Pointer ctx, com.sun.jna.Pointer value, com.sun.jna.ptr.PointerByReference exception)
com.sun.jna.Pointer JSValueToStringCopy(com.sun.jna.Pointer ctx, com.sun.jna.Pointer value, com.sun.jna.ptr.PointerByReference exception)
com.sun.jna.Pointer JSValueToObject(com.sun.jna.Pointer ctx, com.sun.jna.Pointer value, com.sun.jna.ptr.PointerByReference exception)
void JSValueProtect(com.sun.jna.Pointer ctx, com.sun.jna.Pointer value)
void JSValueUnprotect(com.sun.jna.Pointer ctx, com.sun.jna.Pointer value)
Copyright © 2021 The Apache Software Foundation. All rights reserved.