Documentation ¶
Overview ¶
Ultralight bindings for golang
Index ¶
- Constants
- func JSCheckScriptSyntax(ctx JSContextRef, script JSStringRef, sourceURL JSStringRef, ...) bool
- func JSClassRelease(jsClass JSClassRef)
- func JSContextGroupRelease(group JSContextGroupRef)
- func JSGarbageCollect(ctx JSContextRef)
- func JSGlobalContextRelease(ctx JSGlobalContextRef)
- func JSGlobalContextSetName(ctx JSGlobalContextRef, name JSStringRef)
- func JSObjectDeleteProperty(ctx JSContextRef, object JSObjectRef, propertyName JSStringRef, ...) bool
- func JSObjectDeletePropertyForKey(ctx JSContextRef, object JSObjectRef, propertyKey JSValueRef, ...) bool
- func JSObjectGetArrayBufferByteLength(ctx JSContextRef, object JSObjectRef, exception []JSValueRef) uint
- func JSObjectGetArrayBufferBytesPtr(ctx JSContextRef, object JSObjectRef, exception []JSValueRef) unsafe.Pointer
- func JSObjectGetTypedArrayByteLength(ctx JSContextRef, object JSObjectRef, exception []JSValueRef) uint
- func JSObjectGetTypedArrayByteOffset(ctx JSContextRef, object JSObjectRef, exception []JSValueRef) uint
- func JSObjectGetTypedArrayBytesPtr(ctx JSContextRef, object JSObjectRef, exception []JSValueRef) unsafe.Pointer
- func JSObjectGetTypedArrayLength(ctx JSContextRef, object JSObjectRef, exception []JSValueRef) uint
- func JSObjectHasProperty(ctx JSContextRef, object JSObjectRef, propertyName JSStringRef) bool
- func JSObjectHasPropertyForKey(ctx JSContextRef, object JSObjectRef, propertyKey JSValueRef, ...) bool
- func JSObjectIsConstructor(ctx JSContextRef, object JSObjectRef) bool
- func JSObjectIsFunction(ctx JSContextRef, object JSObjectRef) bool
- func JSObjectSetProperty(ctx JSContextRef, object JSObjectRef, propertyName JSStringRef, ...)
- func JSObjectSetPropertyAtIndex(ctx JSContextRef, object JSObjectRef, propertyIndex uint32, value JSValueRef, ...)
- func JSObjectSetPropertyForKey(ctx JSContextRef, object JSObjectRef, propertyKey JSValueRef, value JSValueRef, ...)
- func JSObjectSetPrototype(ctx JSContextRef, object JSObjectRef, value JSValueRef)
- func JSPropertyNameAccumulatorAddName(accumulator JSPropertyNameAccumulatorRef, propertyName JSStringRef)
- func JSPropertyNameArrayGetCount(array JSPropertyNameArrayRef) uint
- func JSPropertyNameArrayRelease(array JSPropertyNameArrayRef)
- func JSStringGetLength(string JSStringRef) uint
- func JSStringGetMaximumUTF8CStringSize(string JSStringRef) uint
- func JSStringGetUTF8CString(string JSStringRef, buffer []byte, bufferSize uint) uint
- func JSStringIsEqual(a JSStringRef, b JSStringRef) bool
- func JSStringIsEqualToUTF8CString(a JSStringRef, b string) bool
- func JSStringRelease(string JSStringRef)
- func JSValueIsArray(ctx JSContextRef, value JSValueRef) bool
- func JSValueIsBoolean(ctx JSContextRef, value JSValueRef) bool
- func JSValueIsDate(ctx JSContextRef, value JSValueRef) bool
- func JSValueIsEqual(ctx JSContextRef, a JSValueRef, b JSValueRef, exception []JSValueRef) bool
- func JSValueIsInstanceOfConstructor(ctx JSContextRef, value JSValueRef, constructor JSObjectRef, ...) bool
- func JSValueIsNull(ctx JSContextRef, value JSValueRef) bool
- func JSValueIsNumber(ctx JSContextRef, value JSValueRef) bool
- func JSValueIsObject(ctx JSContextRef, value JSValueRef) bool
- func JSValueIsObjectOfClass(ctx JSContextRef, value JSValueRef, jsClass JSClassRef) bool
- func JSValueIsStrictEqual(ctx JSContextRef, a JSValueRef, b JSValueRef) bool
- func JSValueIsString(ctx JSContextRef, value JSValueRef) bool
- func JSValueIsSymbol(ctx JSContextRef, value JSValueRef) bool
- func JSValueIsUndefined(ctx JSContextRef, value JSValueRef) bool
- func JSValueProtect(ctx JSContextRef, value JSValueRef)
- func JSValueToBoolean(ctx JSContextRef, value JSValueRef) bool
- func JSValueToNumber(ctx JSContextRef, value JSValueRef, exception []JSValueRef) float64
- func JSValueUnprotect(ctx JSContextRef, value JSValueRef)
- func UlAppIsRunning(app ULApp) bool
- func UlAppQuit(app ULApp)
- func UlAppRun(app ULApp)
- func UlAppSetUpdateCallback(app ULApp, callback ULUpdateCallback, user_data unsafe.Pointer)
- func UlAppSetWindow(app ULApp, window ULWindow)
- func UlBitmapErase(bitmap ULBitmap)
- func UlBitmapGetBpp(bitmap ULBitmap) uint32
- func UlBitmapGetHeight(bitmap ULBitmap) uint32
- func UlBitmapGetRowBytes(bitmap ULBitmap) uint32
- func UlBitmapGetSize(bitmap ULBitmap) uint
- func UlBitmapGetWidth(bitmap ULBitmap) uint32
- func UlBitmapIsEmpty(bitmap ULBitmap) bool
- func UlBitmapLockPixels(bitmap ULBitmap) unsafe.Pointer
- func UlBitmapOwnsPixels(bitmap ULBitmap) bool
- func UlBitmapRawPixels(bitmap ULBitmap) unsafe.Pointer
- func UlBitmapSwapRedBlueChannels(bitmap ULBitmap)
- func UlBitmapUnlockPixels(bitmap ULBitmap)
- func UlBitmapWritePNG(bitmap ULBitmap, path string) bool
- func UlConfigSetAnimationTimerDelay(config ULConfig, delay float64)
- func UlConfigSetCachePath(config ULConfig, cache_path ULString)
- func UlConfigSetDeviceScale(config ULConfig, value float64)
- func UlConfigSetEnableImages(config ULConfig, enabled bool)
- func UlConfigSetEnableJavaScript(config ULConfig, enabled bool)
- func UlConfigSetFaceWinding(config ULConfig, winding ULFaceWinding)
- func UlConfigSetFontFamilyFixed(config ULConfig, font_name ULString)
- func UlConfigSetFontFamilySansSerif(config ULConfig, font_name ULString)
- func UlConfigSetFontFamilySerif(config ULConfig, font_name ULString)
- func UlConfigSetFontFamilyStandard(config ULConfig, font_name ULString)
- func UlConfigSetFontGamma(config ULConfig, font_gamma float64)
- func UlConfigSetFontHinting(config ULConfig, font_hinting ULFontHinting)
- func UlConfigSetForceRepaint(config ULConfig, enabled bool)
- func UlConfigSetMemoryCacheSize(config ULConfig, size uint32)
- func UlConfigSetMinLargeHeapSize(config ULConfig, size uint32)
- func UlConfigSetMinSmallHeapSize(config ULConfig, size uint32)
- func UlConfigSetOverrideRAMSize(config ULConfig, size uint32)
- func UlConfigSetPageCacheSize(config ULConfig, size uint32)
- func UlConfigSetRecycleDelay(config ULConfig, delay float64)
- func UlConfigSetResourcePath(config ULConfig, resource_path ULString)
- func UlConfigSetScrollTimerDelay(config ULConfig, delay float64)
- func UlConfigSetUseGPURenderer(config ULConfig, use_gpu bool)
- func UlConfigSetUserAgent(config ULConfig, agent_string ULString)
- func UlConfigSetUserStylesheet(config ULConfig, css_string ULString)
- func UlDestroyApp(app ULApp)
- func UlDestroyBitmap(bitmap ULBitmap)
- func UlDestroyConfig(config ULConfig)
- func UlDestroyKeyEvent(evt ULKeyEvent)
- func UlDestroyMouseEvent(evt ULMouseEvent)
- func UlDestroyOverlay(overlay ULOverlay)
- func UlDestroyRenderer(renderer ULRenderer)
- func UlDestroyScrollEvent(evt ULScrollEvent)
- func UlDestroySession(session ULSession)
- func UlDestroySettings(settings ULSettings)
- func UlDestroyString(str ULString)
- func UlDestroyView(view ULView)
- func UlDestroyWindow(window ULWindow)
- func UlEnableDefaultLogger(log_path ULString)
- func UlEnablePlatformFileSystem(base_dir ULString)
- func UlEnablePlatformFontLoader()
- func UlIntRectIsEmpty(rect ULIntRect) bool
- func UlLogMemoryUsage(renderer ULRenderer)
- func UlMonitorGetHeight(monitor ULMonitor) uint32
- func UlMonitorGetScale(monitor ULMonitor) float64
- func UlMonitorGetWidth(monitor ULMonitor) uint32
- func UlOverlayFocus(overlay ULOverlay)
- func UlOverlayGetHeight(overlay ULOverlay) uint32
- func UlOverlayGetWidth(overlay ULOverlay) uint32
- func UlOverlayGetX(overlay ULOverlay) int32
- func UlOverlayGetY(overlay ULOverlay) int32
- func UlOverlayHasFocus(overlay ULOverlay) bool
- func UlOverlayHide(overlay ULOverlay)
- func UlOverlayIsHidden(overlay ULOverlay) bool
- func UlOverlayMoveTo(overlay ULOverlay, x int32, y int32)
- func UlOverlayResize(overlay ULOverlay, width uint32, height uint32)
- func UlOverlayShow(overlay ULOverlay)
- func UlOverlayUnfocus(overlay ULOverlay)
- func UlPlatformSetClipboard(clipboard ULClipboard)
- func UlPlatformSetFileSystem(file_system ULFileSystem)
- func UlPlatformSetGPUDriver(gpu_driver ULGPUDriver)
- func UlPlatformSetLogger(logger ULLogger)
- func UlPlatformSetSurfaceDefinition(surface_definition ULSurfaceDefinition)
- func UlPurgeMemory(renderer ULRenderer)
- func UlRectIsEmpty(rect ULRect) bool
- func UlRender(renderer ULRenderer)
- func UlSessionGetId(session ULSession) uint64
- func UlSessionIsPersistent(session ULSession) bool
- func UlSettingsSetAppName(settings ULSettings, name ULString)
- func UlSettingsSetDeveloperName(settings ULSettings, name ULString)
- func UlSettingsSetFileSystemPath(settings ULSettings, path ULString)
- func UlSettingsSetForceCPURenderer(settings ULSettings, force_cpu bool)
- func UlSettingsSetLoadShadersFromFileSystem(settings ULSettings, enabled bool)
- func UlStringAssignCString(str ULString, c_str string)
- func UlStringAssignString(str ULString, new_str ULString)
- func UlStringGetLength(str ULString) uint
- func UlStringIsEmpty(str ULString) bool
- func UlSurfaceClearDirtyBounds(surface ULSurface)
- func UlSurfaceGetHeight(surface ULSurface) uint32
- func UlSurfaceGetRowBytes(surface ULSurface) uint32
- func UlSurfaceGetSize(surface ULSurface) uint
- func UlSurfaceGetUserData(surface ULSurface) unsafe.Pointer
- func UlSurfaceGetWidth(surface ULSurface) uint32
- func UlSurfaceLockPixels(surface ULSurface) unsafe.Pointer
- func UlSurfaceResize(surface ULSurface, width uint32, height uint32)
- func UlSurfaceSetDirtyBounds(surface ULSurface, bounds ULIntRect)
- func UlSurfaceUnlockPixels(surface ULSurface)
- func UlUpdate(renderer ULRenderer)
- func UlVersionMajor() uint32
- func UlVersionMinor() uint32
- func UlVersionPatch() uint32
- func UlVersionString() string
- func UlViewCanGoBack(view ULView) bool
- func UlViewCanGoForward(view ULView) bool
- func UlViewFireKeyEvent(view ULView, key_event ULKeyEvent)
- func UlViewFireMouseEvent(view ULView, mouse_event ULMouseEvent)
- func UlViewFireScrollEvent(view ULView, scroll_event ULScrollEvent)
- func UlViewFocus(view ULView)
- func UlViewGetHeight(view ULView) uint32
- func UlViewGetNeedsPaint(view ULView) bool
- func UlViewGetWidth(view ULView) uint32
- func UlViewGoBack(view ULView)
- func UlViewGoForward(view ULView)
- func UlViewGoToHistoryOffset(view ULView, offset int32)
- func UlViewHasFocus(view ULView) bool
- func UlViewHasInputFocus(view ULView) bool
- func UlViewIsLoading(view ULView) bool
- func UlViewLoadHTML(view ULView, html_string ULString)
- func UlViewLoadURL(view ULView, url_string ULString)
- func UlViewReload(view ULView)
- func UlViewResize(view ULView, width uint32, height uint32)
- func UlViewSetAddConsoleMessageCallback(view ULView, callback ULAddConsoleMessageCallback, user_data unsafe.Pointer)
- func UlViewSetBeginLoadingCallback(view ULView, callback ULBeginLoadingCallback, user_data unsafe.Pointer)
- func UlViewSetChangeCursorCallback(view ULView, callback ULChangeCursorCallback, user_data unsafe.Pointer)
- func UlViewSetChangeTitleCallback(view ULView, callback ULChangeTitleCallback, user_data unsafe.Pointer)
- func UlViewSetChangeTooltipCallback(view ULView, callback ULChangeTooltipCallback, user_data unsafe.Pointer)
- func UlViewSetChangeURLCallback(view ULView, callback ULChangeURLCallback, user_data unsafe.Pointer)
- func UlViewSetCreateChildViewCallback(view ULView, callback ULCreateChildViewCallback, user_data unsafe.Pointer)
- func UlViewSetDOMReadyCallback(view ULView, callback ULDOMReadyCallback, user_data unsafe.Pointer)
- func UlViewSetFailLoadingCallback(view ULView, callback ULFailLoadingCallback, user_data unsafe.Pointer)
- func UlViewSetFinishLoadingCallback(view ULView, callback ULFinishLoadingCallback, user_data unsafe.Pointer)
- func UlViewSetNeedsPaint(view ULView, needs_paint bool)
- func UlViewSetUpdateHistoryCallback(view ULView, callback ULUpdateHistoryCallback, user_data unsafe.Pointer)
- func UlViewSetWindowObjectReadyCallback(view ULView, callback ULWindowObjectReadyCallback, user_data unsafe.Pointer)
- func UlViewStop(view ULView)
- func UlViewUnfocus(view ULView)
- func UlViewUnlockJSContext(view ULView)
- func UlWindowClose(window ULWindow)
- func UlWindowDeviceToPixel(window ULWindow, val int32) int32
- func UlWindowGetHeight(window ULWindow) uint32
- func UlWindowGetNativeHandle(window ULWindow) unsafe.Pointer
- func UlWindowGetScale(window ULWindow) float64
- func UlWindowGetWidth(window ULWindow) uint32
- func UlWindowIsFullscreen(window ULWindow) bool
- func UlWindowPixelsToDevice(window ULWindow, val int32) int32
- func UlWindowSetCloseCallback(window ULWindow, callback ULCloseCallback, user_data unsafe.Pointer)
- func UlWindowSetCursor(window ULWindow, cursor ULCursor)
- func UlWindowSetResizeCallback(window ULWindow, callback ULResizeCallback, user_data unsafe.Pointer)
- func UlWindowSetTitle(window ULWindow, title string)
- type JSChar
- type JSClassAttributes
- type JSClassDefinition
- type JSClassRef
- type JSContextGroupRef
- type JSContextRef
- type JSGlobalContextRef
- func JSContextGetGlobalContext(ctx JSContextRef) JSGlobalContextRef
- func JSGlobalContextCreate(globalObjectClass JSClassRef) JSGlobalContextRef
- func JSGlobalContextCreateInGroup(group JSContextGroupRef, globalObjectClass JSClassRef) JSGlobalContextRef
- func JSGlobalContextRetain(ctx JSGlobalContextRef) JSGlobalContextRef
- type JSObjectCallAsConstructorCallback
- type JSObjectCallAsConstructorCallbackEx
- type JSObjectCallAsFunctionCallback
- type JSObjectCallAsFunctionCallbackEx
- type JSObjectConvertToTypeCallback
- type JSObjectConvertToTypeCallbackEx
- type JSObjectDeletePropertyCallback
- type JSObjectDeletePropertyCallbackEx
- type JSObjectFinalizeCallback
- type JSObjectFinalizeCallbackEx
- type JSObjectGetPropertyCallback
- type JSObjectGetPropertyCallbackEx
- type JSObjectGetPropertyNamesCallback
- type JSObjectGetPropertyNamesCallbackEx
- type JSObjectHasInstanceCallback
- type JSObjectHasInstanceCallbackEx
- type JSObjectHasPropertyCallback
- type JSObjectHasPropertyCallbackEx
- type JSObjectInitializeCallback
- type JSObjectInitializeCallbackEx
- type JSObjectRef
- func JSContextGetGlobalObject(ctx JSContextRef) JSObjectRef
- func JSObjectCallAsConstructor(ctx JSContextRef, object JSObjectRef, argumentCount uint, ...) JSObjectRef
- func JSObjectGetTypedArrayBuffer(ctx JSContextRef, object JSObjectRef, exception []JSValueRef) JSObjectRef
- func JSObjectMake(ctx JSContextRef, jsClass JSClassRef, data unsafe.Pointer) JSObjectRef
- func JSObjectMakeArray(ctx JSContextRef, argumentCount uint, arguments []JSValueRef, ...) JSObjectRef
- func JSObjectMakeArrayBufferWithBytesNoCopy(ctx JSContextRef, bytes unsafe.Pointer, byteLength uint, ...) JSObjectRef
- func JSObjectMakeConstructor(ctx JSContextRef, jsClass JSClassRef, ...) JSObjectRef
- func JSObjectMakeDate(ctx JSContextRef, argumentCount uint, arguments []JSValueRef, ...) JSObjectRef
- func JSObjectMakeDeferredPromise(ctx JSContextRef, resolve []JSObjectRef, reject []JSObjectRef, ...) JSObjectRef
- func JSObjectMakeError(ctx JSContextRef, argumentCount uint, arguments []JSValueRef, ...) JSObjectRef
- func JSObjectMakeFunction(ctx JSContextRef, name JSStringRef, parameterCount uint32, ...) JSObjectRef
- func JSObjectMakeFunctionWithCallback(ctx JSContextRef, name JSStringRef, ...) JSObjectRef
- func JSObjectMakeRegExp(ctx JSContextRef, argumentCount uint, arguments []JSValueRef, ...) JSObjectRef
- func JSObjectMakeTypedArray(ctx JSContextRef, arrayType JSTypedArrayType, length uint, ...) JSObjectRef
- func JSObjectMakeTypedArrayWithArrayBuffer(ctx JSContextRef, arrayType JSTypedArrayType, buffer JSObjectRef, ...) JSObjectRef
- func JSObjectMakeTypedArrayWithArrayBufferAndOffset(ctx JSContextRef, arrayType JSTypedArrayType, buffer JSObjectRef, ...) JSObjectRef
- func JSObjectMakeTypedArrayWithBytesNoCopy(ctx JSContextRef, arrayType JSTypedArrayType, bytes unsafe.Pointer, ...) JSObjectRef
- func JSValueToObject(ctx JSContextRef, value JSValueRef, exception []JSValueRef) JSObjectRef
- type JSObjectSetPropertyCallback
- type JSObjectSetPropertyCallbackEx
- type JSPropertyAttributes
- type JSPropertyNameAccumulatorRef
- type JSPropertyNameArrayRef
- type JSStaticFunction
- type JSStaticFunctionEx
- type JSStaticValue
- type JSStaticValueEx
- type JSStringRef
- func JSGlobalContextCopyName(ctx JSGlobalContextRef) JSStringRef
- func JSPropertyNameArrayGetNameAtIndex(array JSPropertyNameArrayRef, index uint) JSStringRef
- func JSStringCreateWithCharacters(chars []JSChar, numChars uint) JSStringRef
- func JSStringCreateWithUTF8CString(string string) JSStringRef
- func JSStringRetain(string JSStringRef) JSStringRef
- func JSValueCreateJSONString(ctx JSContextRef, value JSValueRef, indent uint32, exception []JSValueRef) JSStringRef
- func JSValueToStringCopy(ctx JSContextRef, value JSValueRef, exception []JSValueRef) JSStringRef
- type JSType
- type JSTypedArrayBytesDeallocator
- type JSTypedArrayType
- type JSValueRef
- func JSEvaluateScript(ctx JSContextRef, script JSStringRef, thisObject JSObjectRef, ...) JSValueRef
- func JSObjectCallAsFunction(ctx JSContextRef, object JSObjectRef, thisObject JSObjectRef, ...) JSValueRef
- func JSObjectGetProperty(ctx JSContextRef, object JSObjectRef, propertyName JSStringRef, ...) JSValueRef
- func JSObjectGetPropertyAtIndex(ctx JSContextRef, object JSObjectRef, propertyIndex uint32, ...) JSValueRef
- func JSObjectGetPropertyForKey(ctx JSContextRef, object JSObjectRef, propertyKey JSValueRef, ...) JSValueRef
- func JSObjectGetPrototype(ctx JSContextRef, object JSObjectRef) JSValueRef
- func JSValueMakeBoolean(ctx JSContextRef, boolean bool) JSValueRef
- func JSValueMakeFromJSONString(ctx JSContextRef, string JSStringRef) JSValueRef
- func JSValueMakeNull(ctx JSContextRef) JSValueRef
- func JSValueMakeNumber(ctx JSContextRef, number float64) JSValueRef
- func JSValueMakeString(ctx JSContextRef, string JSStringRef) JSValueRef
- func JSValueMakeSymbol(ctx JSContextRef, description JSStringRef) JSValueRef
- func JSValueMakeUndefined(ctx JSContextRef) JSValueRef
- type RawString
- type ULAddConsoleMessageCallback
- type ULApp
- type ULBeginLoadingCallback
- type ULBitmap
- func UlBitmapSurfaceGetBitmap(surface ULBitmapSurface) ULBitmap
- func UlCreateBitmap(width uint32, height uint32, format ULBitmapFormat) ULBitmap
- func UlCreateBitmapFromCopy(existing_bitmap ULBitmap) ULBitmap
- func UlCreateBitmapFromPixels(width uint32, height uint32, format ULBitmapFormat, row_bytes uint32, ...) ULBitmap
- func UlCreateEmptyBitmap() ULBitmap
- type ULBitmapFormat
- type ULBitmapSurface
- type ULBuffer
- type ULChangeCursorCallback
- type ULChangeTitleCallback
- type ULChangeTooltipCallback
- type ULChangeURLCallback
- type ULChar16
- type ULClipboard
- type ULClipboardClearCallback
- type ULClipboardReadPlainTextCallback
- type ULClipboardWritePlainTextCallback
- type ULCloseCallback
- type ULCommand
- type ULCommandList
- type ULCommandType
- type ULConfig
- type ULCreateChildViewCallback
- type ULCursor
- type ULDOMReadyCallback
- type ULFaceWinding
- type ULFailLoadingCallback
- type ULFileHandle
- type ULFileSystem
- type ULFileSystemCloseFileCallback
- type ULFileSystemFileExistsCallback
- type ULFileSystemGetFileMimeTypeCallback
- type ULFileSystemGetFileSizeCallback
- type ULFileSystemOpenFileCallback
- type ULFileSystemReadFromFileCallback
- type ULFinishLoadingCallback
- type ULFontHinting
- type ULGPUDriver
- type ULGPUDriverBeginSynchronizeCallback
- type ULGPUDriverCreateGeometryCallback
- type ULGPUDriverCreateRenderBufferCallback
- type ULGPUDriverCreateTextureCallback
- type ULGPUDriverDestroyGeometryCallback
- type ULGPUDriverDestroyRenderBufferCallback
- type ULGPUDriverDestroyTextureCallback
- type ULGPUDriverEndSynchronizeCallback
- type ULGPUDriverNextGeometryIdCallback
- type ULGPUDriverNextRenderBufferIdCallback
- type ULGPUDriverNextTextureIdCallback
- type ULGPUDriverUpdateCommandListCallback
- type ULGPUDriverUpdateGeometryCallback
- type ULGPUDriverUpdateTextureCallback
- type ULGPUState
- type ULIndexBuffer
- type ULIndexType
- type ULIntRect
- type ULKeyEvent
- type ULKeyEventType
- type ULLogLevel
- type ULLogger
- type ULLoggerLogMessageCallback
- type ULMatrix4x4
- type ULMessageLevel
- type ULMessageSource
- type ULMonitor
- type ULMouseButton
- type ULMouseEvent
- type ULMouseEventType
- type ULOverlay
- type ULRect
- type ULRenderBuffer
- type ULRenderTarget
- type ULRenderer
- type ULResizeCallback
- type ULScrollEvent
- type ULScrollEventType
- type ULSession
- type ULSettings
- type ULShaderType
- type ULString
- func UlCreateString(str string) ULString
- func UlCreateStringUTF16(str []ULChar16, len uint) ULString
- func UlCreateStringUTF8(str string, len uint) ULString
- func UlSessionGetDiskPath(session ULSession) ULString
- func UlSessionGetName(session ULSession) ULString
- func UlViewEvaluateScript(view ULView, js_string ULString, exception []ULString) ULString
- func UlViewGetTitle(view ULView) ULString
- func UlViewGetURL(view ULView) ULString
- type ULSurface
- type ULSurfaceDefinition
- type ULSurfaceDefinitionCreateCallback
- type ULSurfaceDefinitionDestroyCallback
- type ULSurfaceDefinitionGetHeightCallback
- type ULSurfaceDefinitionGetRowBytesCallback
- type ULSurfaceDefinitionGetSizeCallback
- type ULSurfaceDefinitionGetWidthCallback
- type ULSurfaceDefinitionLockPixelsCallback
- type ULSurfaceDefinitionResizeCallback
- type ULSurfaceDefinitionUnlockPixelsCallback
- type ULUpdateCallback
- type ULUpdateHistoryCallback
- type ULVertexBuffer
- type ULVertexBufferFormat
- type ULVertex_2f_4ub_2f
- type ULVertex_2f_4ub_2f_2f_28f
- func (x *ULVertex_2f_4ub_2f_2f_28f) Deref()
- func (x *ULVertex_2f_4ub_2f_2f_28f) Free()
- func (x *ULVertex_2f_4ub_2f_2f_28f) PassRef() (*C.ULVertex_2f_4ub_2f_2f_28f, *cgoAllocMap)
- func (x ULVertex_2f_4ub_2f_2f_28f) PassValue() (C.ULVertex_2f_4ub_2f_2f_28f, *cgoAllocMap)
- func (x *ULVertex_2f_4ub_2f_2f_28f) Ref() *C.ULVertex_2f_4ub_2f_2f_28f
- type ULView
- type ULWindow
- type ULWindowFlags
- type ULWindowObjectReadyCallback
- type ULvec4
Constants ¶
const ( // KJSPropertyAttributeNone as declared in JavaScriptCore/JSObjectRef.h:51 KJSPropertyAttributeNone = iota // KJSPropertyAttributeReadOnly as declared in JavaScriptCore/JSObjectRef.h:52 KJSPropertyAttributeReadOnly = 2 // KJSPropertyAttributeDontEnum as declared in JavaScriptCore/JSObjectRef.h:53 KJSPropertyAttributeDontEnum = 4 // KJSPropertyAttributeDontDelete as declared in JavaScriptCore/JSObjectRef.h:54 KJSPropertyAttributeDontDelete = 8 )
const ( // KJSClassAttributeNone as declared in JavaScriptCore/JSObjectRef.h:69 KJSClassAttributeNone = iota // KJSClassAttributeNoAutomaticPrototype as declared in JavaScriptCore/JSObjectRef.h:70 KJSClassAttributeNoAutomaticPrototype = 2 )
const (
// JSC_OBJC_API_ENABLED as defined in JavaScriptCore/JSBase.h:151
JSC_OBJC_API_ENABLED = 0
)
Variables ¶
This section is empty.
Functions ¶
func JSCheckScriptSyntax ¶
func JSCheckScriptSyntax(ctx JSContextRef, script JSStringRef, sourceURL JSStringRef, startingLineNumber int32, exception []JSValueRef) bool
JSCheckScriptSyntax function as declared in JavaScriptCore/JSBase.h:125
func JSClassRelease ¶
func JSClassRelease(jsClass JSClassRef)
JSClassRelease function as declared in JavaScriptCore/JSObjectRef.h:481
func JSContextGroupRelease ¶
func JSContextGroupRelease(group JSContextGroupRef)
JSContextGroupRelease function as declared in JavaScriptCore/JSContextRef.h:71
func JSGarbageCollect ¶
func JSGarbageCollect(ctx JSContextRef)
JSGarbageCollect function as declared in JavaScriptCore/JSBase.h:140
func JSGlobalContextRelease ¶
func JSGlobalContextRelease(ctx JSGlobalContextRef)
JSGlobalContextRelease function as declared in JavaScriptCore/JSContextRef.h:115
func JSGlobalContextSetName ¶
func JSGlobalContextSetName(ctx JSGlobalContextRef, name JSStringRef)
JSGlobalContextSetName function as declared in JavaScriptCore/JSContextRef.h:157
func JSObjectDeleteProperty ¶
func JSObjectDeleteProperty(ctx JSContextRef, object JSObjectRef, propertyName JSStringRef, exception []JSValueRef) bool
JSObjectDeleteProperty function as declared in JavaScriptCore/JSObjectRef.h:650
func JSObjectDeletePropertyForKey ¶
func JSObjectDeletePropertyForKey(ctx JSContextRef, object JSObjectRef, propertyKey JSValueRef, exception []JSValueRef) bool
JSObjectDeletePropertyForKey function as declared in JavaScriptCore/JSObjectRef.h:698
func JSObjectGetArrayBufferByteLength ¶
func JSObjectGetArrayBufferByteLength(ctx JSContextRef, object JSObjectRef, exception []JSValueRef) uint
JSObjectGetArrayBufferByteLength function as declared in JavaScriptCore/JSTypedArray.h:174
func JSObjectGetArrayBufferBytesPtr ¶
func JSObjectGetArrayBufferBytesPtr(ctx JSContextRef, object JSObjectRef, exception []JSValueRef) unsafe.Pointer
JSObjectGetArrayBufferBytesPtr function as declared in JavaScriptCore/JSTypedArray.h:164
func JSObjectGetTypedArrayByteLength ¶
func JSObjectGetTypedArrayByteLength(ctx JSContextRef, object JSObjectRef, exception []JSValueRef) uint
JSObjectGetTypedArrayByteLength function as declared in JavaScriptCore/JSTypedArray.h:118
func JSObjectGetTypedArrayByteOffset ¶
func JSObjectGetTypedArrayByteOffset(ctx JSContextRef, object JSObjectRef, exception []JSValueRef) uint
JSObjectGetTypedArrayByteOffset function as declared in JavaScriptCore/JSTypedArray.h:128
func JSObjectGetTypedArrayBytesPtr ¶
func JSObjectGetTypedArrayBytesPtr(ctx JSContextRef, object JSObjectRef, exception []JSValueRef) unsafe.Pointer
JSObjectGetTypedArrayBytesPtr function as declared in JavaScriptCore/JSTypedArray.h:98
func JSObjectGetTypedArrayLength ¶
func JSObjectGetTypedArrayLength(ctx JSContextRef, object JSObjectRef, exception []JSValueRef) uint
JSObjectGetTypedArrayLength function as declared in JavaScriptCore/JSTypedArray.h:108
func JSObjectHasProperty ¶
func JSObjectHasProperty(ctx JSContextRef, object JSObjectRef, propertyName JSStringRef) bool
JSObjectHasProperty function as declared in JavaScriptCore/JSObjectRef.h:616
func JSObjectHasPropertyForKey ¶
func JSObjectHasPropertyForKey(ctx JSContextRef, object JSObjectRef, propertyKey JSValueRef, exception []JSValueRef) bool
JSObjectHasPropertyForKey function as declared in JavaScriptCore/JSObjectRef.h:661
func JSObjectIsConstructor ¶
func JSObjectIsConstructor(ctx JSContextRef, object JSObjectRef) bool
JSObjectIsConstructor function as declared in JavaScriptCore/JSObjectRef.h:754
func JSObjectIsFunction ¶
func JSObjectIsFunction(ctx JSContextRef, object JSObjectRef) bool
JSObjectIsFunction function as declared in JavaScriptCore/JSObjectRef.h:732
func JSObjectSetProperty ¶
func JSObjectSetProperty(ctx JSContextRef, object JSObjectRef, propertyName JSStringRef, value JSValueRef, attributes JSPropertyAttributes, exception []JSValueRef)
JSObjectSetProperty function as declared in JavaScriptCore/JSObjectRef.h:639
func JSObjectSetPropertyAtIndex ¶
func JSObjectSetPropertyAtIndex(ctx JSContextRef, object JSObjectRef, propertyIndex uint32, value JSValueRef, exception []JSValueRef)
JSObjectSetPropertyAtIndex function as declared in JavaScriptCore/JSObjectRef.h:722
func JSObjectSetPropertyForKey ¶
func JSObjectSetPropertyForKey(ctx JSContextRef, object JSObjectRef, propertyKey JSValueRef, value JSValueRef, attributes JSPropertyAttributes, exception []JSValueRef)
JSObjectSetPropertyForKey function as declared in JavaScriptCore/JSObjectRef.h:686
func JSObjectSetPrototype ¶
func JSObjectSetPrototype(ctx JSContextRef, object JSObjectRef, value JSValueRef)
JSObjectSetPrototype function as declared in JavaScriptCore/JSObjectRef.h:607
func JSPropertyNameAccumulatorAddName ¶
func JSPropertyNameAccumulatorAddName(accumulator JSPropertyNameAccumulatorRef, propertyName JSStringRef)
JSPropertyNameAccumulatorAddName function as declared in JavaScriptCore/JSObjectRef.h:815
func JSPropertyNameArrayGetCount ¶
func JSPropertyNameArrayGetCount(array JSPropertyNameArrayRef) uint
JSPropertyNameArrayGetCount function as declared in JavaScriptCore/JSObjectRef.h:798
func JSPropertyNameArrayRelease ¶
func JSPropertyNameArrayRelease(array JSPropertyNameArrayRef)
JSPropertyNameArrayRelease function as declared in JavaScriptCore/JSObjectRef.h:790
func JSStringGetLength ¶
func JSStringGetLength(string JSStringRef) uint
JSStringGetLength function as declared in JavaScriptCore/JSStringRef.h:90
func JSStringGetMaximumUTF8CStringSize ¶
func JSStringGetMaximumUTF8CStringSize(string JSStringRef) uint
JSStringGetMaximumUTF8CStringSize function as declared in JavaScriptCore/JSStringRef.h:111
func JSStringGetUTF8CString ¶
func JSStringGetUTF8CString(string JSStringRef, buffer []byte, bufferSize uint) uint
JSStringGetUTF8CString function as declared in JavaScriptCore/JSStringRef.h:125
func JSStringIsEqual ¶
func JSStringIsEqual(a JSStringRef, b JSStringRef) bool
JSStringIsEqual function as declared in JavaScriptCore/JSStringRef.h:134
func JSStringIsEqualToUTF8CString ¶
func JSStringIsEqualToUTF8CString(a JSStringRef, b string) bool
JSStringIsEqualToUTF8CString function as declared in JavaScriptCore/JSStringRef.h:142
func JSStringRelease ¶
func JSStringRelease(string JSStringRef)
JSStringRelease function as declared in JavaScriptCore/JSStringRef.h:82
func JSValueIsArray ¶
func JSValueIsArray(ctx JSContextRef, value JSValueRef) bool
JSValueIsArray function as declared in JavaScriptCore/JSValueRef.h:181
func JSValueIsBoolean ¶
func JSValueIsBoolean(ctx JSContextRef, value JSValueRef) bool
JSValueIsBoolean function as declared in JavaScriptCore/JSValueRef.h:125
func JSValueIsDate ¶
func JSValueIsDate(ctx JSContextRef, value JSValueRef) bool
JSValueIsDate function as declared in JavaScriptCore/JSValueRef.h:190
func JSValueIsEqual ¶
func JSValueIsEqual(ctx JSContextRef, a JSValueRef, b JSValueRef, exception []JSValueRef) bool
JSValueIsEqual function as declared in JavaScriptCore/JSValueRef.h:213
func JSValueIsInstanceOfConstructor ¶
func JSValueIsInstanceOfConstructor(ctx JSContextRef, value JSValueRef, constructor JSObjectRef, exception []JSValueRef) bool
JSValueIsInstanceOfConstructor function as declared in JavaScriptCore/JSValueRef.h:234
func JSValueIsNull ¶
func JSValueIsNull(ctx JSContextRef, value JSValueRef) bool
JSValueIsNull function as declared in JavaScriptCore/JSValueRef.h:116
func JSValueIsNumber ¶
func JSValueIsNumber(ctx JSContextRef, value JSValueRef) bool
JSValueIsNumber function as declared in JavaScriptCore/JSValueRef.h:134
func JSValueIsObject ¶
func JSValueIsObject(ctx JSContextRef, value JSValueRef) bool
JSValueIsObject function as declared in JavaScriptCore/JSValueRef.h:161
func JSValueIsObjectOfClass ¶
func JSValueIsObjectOfClass(ctx JSContextRef, value JSValueRef, jsClass JSClassRef) bool
JSValueIsObjectOfClass function as declared in JavaScriptCore/JSValueRef.h:172
func JSValueIsStrictEqual ¶
func JSValueIsStrictEqual(ctx JSContextRef, a JSValueRef, b JSValueRef) bool
JSValueIsStrictEqual function as declared in JavaScriptCore/JSValueRef.h:223
func JSValueIsString ¶
func JSValueIsString(ctx JSContextRef, value JSValueRef) bool
JSValueIsString function as declared in JavaScriptCore/JSValueRef.h:143
func JSValueIsSymbol ¶
func JSValueIsSymbol(ctx JSContextRef, value JSValueRef) bool
JSValueIsSymbol function as declared in JavaScriptCore/JSValueRef.h:152
func JSValueIsUndefined ¶
func JSValueIsUndefined(ctx JSContextRef, value JSValueRef) bool
JSValueIsUndefined function as declared in JavaScriptCore/JSValueRef.h:107
func JSValueProtect ¶
func JSValueProtect(ctx JSContextRef, value JSValueRef)
JSValueProtect function as declared in JavaScriptCore/JSValueRef.h:364
func JSValueToBoolean ¶
func JSValueToBoolean(ctx JSContextRef, value JSValueRef) bool
JSValueToBoolean function as declared in JavaScriptCore/JSValueRef.h:322
func JSValueToNumber ¶
func JSValueToNumber(ctx JSContextRef, value JSValueRef, exception []JSValueRef) float64
JSValueToNumber function as declared in JavaScriptCore/JSValueRef.h:332
func JSValueUnprotect ¶
func JSValueUnprotect(ctx JSContextRef, value JSValueRef)
JSValueUnprotect function as declared in JavaScriptCore/JSValueRef.h:374
func UlAppIsRunning ¶
UlAppIsRunning function as declared in AppCore/CAPI.h:163
func UlAppSetUpdateCallback ¶
func UlAppSetUpdateCallback(app ULApp, callback ULUpdateCallback, user_data unsafe.Pointer)
UlAppSetUpdateCallback function as declared in AppCore/CAPI.h:157
func UlAppSetWindow ¶
UlAppSetWindow function as declared in AppCore/CAPI.h:140
func UlBitmapErase ¶
func UlBitmapErase(bitmap ULBitmap)
UlBitmapErase function as declared in Ultralight/CAPI.h:1087
func UlBitmapGetBpp ¶
UlBitmapGetBpp function as declared in Ultralight/CAPI.h:1046
func UlBitmapGetHeight ¶
UlBitmapGetHeight function as declared in Ultralight/CAPI.h:1036
func UlBitmapGetRowBytes ¶
UlBitmapGetRowBytes function as declared in Ultralight/CAPI.h:1051
func UlBitmapGetSize ¶
UlBitmapGetSize function as declared in Ultralight/CAPI.h:1056
func UlBitmapGetWidth ¶
UlBitmapGetWidth function as declared in Ultralight/CAPI.h:1031
func UlBitmapIsEmpty ¶
UlBitmapIsEmpty function as declared in Ultralight/CAPI.h:1082
func UlBitmapLockPixels ¶
UlBitmapLockPixels function as declared in Ultralight/CAPI.h:1066
func UlBitmapOwnsPixels ¶
UlBitmapOwnsPixels function as declared in Ultralight/CAPI.h:1061
func UlBitmapRawPixels ¶
UlBitmapRawPixels function as declared in Ultralight/CAPI.h:1077
func UlBitmapSwapRedBlueChannels ¶
func UlBitmapSwapRedBlueChannels(bitmap ULBitmap)
UlBitmapSwapRedBlueChannels function as declared in Ultralight/CAPI.h:1098
func UlBitmapUnlockPixels ¶
func UlBitmapUnlockPixels(bitmap ULBitmap)
UlBitmapUnlockPixels function as declared in Ultralight/CAPI.h:1071
func UlBitmapWritePNG ¶
UlBitmapWritePNG function as declared in Ultralight/CAPI.h:1092
func UlConfigSetAnimationTimerDelay ¶
UlConfigSetAnimationTimerDelay function as declared in Ultralight/CAPI.h:403
func UlConfigSetCachePath ¶
UlConfigSetCachePath function as declared in Ultralight/CAPI.h:309
func UlConfigSetDeviceScale ¶
UlConfigSetDeviceScale function as declared in Ultralight/CAPI.h:327
func UlConfigSetEnableImages ¶
UlConfigSetEnableImages function as declared in Ultralight/CAPI.h:339
func UlConfigSetEnableJavaScript ¶
UlConfigSetEnableJavaScript function as declared in Ultralight/CAPI.h:344
func UlConfigSetFaceWinding ¶
func UlConfigSetFaceWinding(config ULConfig, winding ULFaceWinding)
UlConfigSetFaceWinding function as declared in Ultralight/CAPI.h:334
func UlConfigSetFontFamilyFixed ¶
UlConfigSetFontFamilyFixed function as declared in Ultralight/CAPI.h:369
func UlConfigSetFontFamilySansSerif ¶
UlConfigSetFontFamilySansSerif function as declared in Ultralight/CAPI.h:379
func UlConfigSetFontFamilySerif ¶
UlConfigSetFontFamilySerif function as declared in Ultralight/CAPI.h:374
func UlConfigSetFontFamilyStandard ¶
UlConfigSetFontFamilyStandard function as declared in Ultralight/CAPI.h:362
func UlConfigSetFontGamma ¶
UlConfigSetFontGamma function as declared in Ultralight/CAPI.h:357
func UlConfigSetFontHinting ¶
func UlConfigSetFontHinting(config ULConfig, font_hinting ULFontHinting)
UlConfigSetFontHinting function as declared in Ultralight/CAPI.h:350
func UlConfigSetForceRepaint ¶
UlConfigSetForceRepaint function as declared in Ultralight/CAPI.h:397
func UlConfigSetMemoryCacheSize ¶
UlConfigSetMemoryCacheSize function as declared in Ultralight/CAPI.h:421
func UlConfigSetMinLargeHeapSize ¶
UlConfigSetMinLargeHeapSize function as declared in Ultralight/CAPI.h:442
func UlConfigSetMinSmallHeapSize ¶
UlConfigSetMinSmallHeapSize function as declared in Ultralight/CAPI.h:448
func UlConfigSetOverrideRAMSize ¶
UlConfigSetOverrideRAMSize function as declared in Ultralight/CAPI.h:436
func UlConfigSetPageCacheSize ¶
UlConfigSetPageCacheSize function as declared in Ultralight/CAPI.h:426
func UlConfigSetRecycleDelay ¶
UlConfigSetRecycleDelay function as declared in Ultralight/CAPI.h:415
func UlConfigSetResourcePath ¶
UlConfigSetResourcePath function as declared in Ultralight/CAPI.h:303
func UlConfigSetScrollTimerDelay ¶
UlConfigSetScrollTimerDelay function as declared in Ultralight/CAPI.h:409
func UlConfigSetUseGPURenderer ¶
UlConfigSetUseGPURenderer function as declared in Ultralight/CAPI.h:320
func UlConfigSetUserAgent ¶
UlConfigSetUserAgent function as declared in Ultralight/CAPI.h:385
func UlConfigSetUserStylesheet ¶
UlConfigSetUserStylesheet function as declared in Ultralight/CAPI.h:390
func UlDestroyApp ¶
func UlDestroyApp(app ULApp)
UlDestroyApp function as declared in AppCore/CAPI.h:130
func UlDestroyBitmap ¶
func UlDestroyBitmap(bitmap ULBitmap)
UlDestroyBitmap function as declared in Ultralight/CAPI.h:1026
func UlDestroyConfig ¶
func UlDestroyConfig(config ULConfig)
UlDestroyConfig function as declared in Ultralight/CAPI.h:297
func UlDestroyKeyEvent ¶
func UlDestroyKeyEvent(evt ULKeyEvent)
UlDestroyKeyEvent function as declared in Ultralight/CAPI.h:1124
func UlDestroyMouseEvent ¶
func UlDestroyMouseEvent(evt ULMouseEvent)
UlDestroyMouseEvent function as declared in Ultralight/CAPI.h:1139
func UlDestroyOverlay ¶
func UlDestroyOverlay(overlay ULOverlay)
UlDestroyOverlay function as declared in AppCore/CAPI.h:344
func UlDestroyRenderer ¶
func UlDestroyRenderer(renderer ULRenderer)
UlDestroyRenderer function as declared in Ultralight/CAPI.h:482
func UlDestroyScrollEvent ¶
func UlDestroyScrollEvent(evt ULScrollEvent)
UlDestroyScrollEvent function as declared in Ultralight/CAPI.h:1154
func UlDestroySession ¶
func UlDestroySession(session ULSession)
UlDestroySession function as declared in Ultralight/CAPI.h:520
func UlDestroySettings ¶
func UlDestroySettings(settings ULSettings)
UlDestroySettings function as declared in AppCore/CAPI.h:57
func UlDestroyString ¶
func UlDestroyString(str ULString)
UlDestroyString function as declared in Ultralight/CAPI.h:964
func UlDestroyView ¶
func UlDestroyView(view ULView)
UlDestroyView function as declared in Ultralight/CAPI.h:565
func UlDestroyWindow ¶
func UlDestroyWindow(window ULWindow)
UlDestroyWindow function as declared in AppCore/CAPI.h:222
func UlEnableDefaultLogger ¶
func UlEnableDefaultLogger(log_path ULString)
UlEnableDefaultLogger function as declared in AppCore/CAPI.h:442
func UlEnablePlatformFileSystem ¶
func UlEnablePlatformFileSystem(base_dir ULString)
UlEnablePlatformFileSystem function as declared in AppCore/CAPI.h:432
func UlEnablePlatformFontLoader ¶
func UlEnablePlatformFontLoader()
UlEnablePlatformFontLoader function as declared in AppCore/CAPI.h:422
func UlIntRectIsEmpty ¶
UlIntRectIsEmpty function as declared in Ultralight/CAPI.h:1177
func UlLogMemoryUsage ¶
func UlLogMemoryUsage(renderer ULRenderer)
UlLogMemoryUsage function as declared in Ultralight/CAPI.h:504
func UlMonitorGetHeight ¶
UlMonitorGetHeight function as declared in AppCore/CAPI.h:200
func UlMonitorGetScale ¶
UlMonitorGetScale function as declared in AppCore/CAPI.h:190
func UlMonitorGetWidth ¶
UlMonitorGetWidth function as declared in AppCore/CAPI.h:195
func UlOverlayFocus ¶
func UlOverlayFocus(overlay ULOverlay)
UlOverlayFocus function as declared in AppCore/CAPI.h:406
func UlOverlayGetHeight ¶
UlOverlayGetHeight function as declared in AppCore/CAPI.h:359
func UlOverlayGetWidth ¶
UlOverlayGetWidth function as declared in AppCore/CAPI.h:354
func UlOverlayGetX ¶
UlOverlayGetX function as declared in AppCore/CAPI.h:364
func UlOverlayGetY ¶
UlOverlayGetY function as declared in AppCore/CAPI.h:369
func UlOverlayHasFocus ¶
UlOverlayHasFocus function as declared in AppCore/CAPI.h:401
func UlOverlayHide ¶
func UlOverlayHide(overlay ULOverlay)
UlOverlayHide function as declared in AppCore/CAPI.h:391
func UlOverlayIsHidden ¶
UlOverlayIsHidden function as declared in AppCore/CAPI.h:386
func UlOverlayMoveTo ¶
UlOverlayMoveTo function as declared in AppCore/CAPI.h:374
func UlOverlayResize ¶
UlOverlayResize function as declared in AppCore/CAPI.h:380
func UlOverlayShow ¶
func UlOverlayShow(overlay ULOverlay)
UlOverlayShow function as declared in AppCore/CAPI.h:396
func UlOverlayUnfocus ¶
func UlOverlayUnfocus(overlay ULOverlay)
UlOverlayUnfocus function as declared in AppCore/CAPI.h:411
func UlPlatformSetClipboard ¶
func UlPlatformSetClipboard(clipboard ULClipboard)
UlPlatformSetClipboard function as declared in Ultralight/CAPI.h:1911
func UlPlatformSetFileSystem ¶
func UlPlatformSetFileSystem(file_system ULFileSystem)
UlPlatformSetFileSystem function as declared in Ultralight/CAPI.h:1870
func UlPlatformSetGPUDriver ¶
func UlPlatformSetGPUDriver(gpu_driver ULGPUDriver)
UlPlatformSetGPUDriver function as declared in Ultralight/CAPI.h:1898
func UlPlatformSetLogger ¶
func UlPlatformSetLogger(logger ULLogger)
UlPlatformSetLogger function as declared in Ultralight/CAPI.h:1852
func UlPlatformSetSurfaceDefinition ¶
func UlPlatformSetSurfaceDefinition(surface_definition ULSurfaceDefinition)
UlPlatformSetSurfaceDefinition function as declared in Ultralight/CAPI.h:1883
func UlPurgeMemory ¶
func UlPurgeMemory(renderer ULRenderer)
UlPurgeMemory function as declared in Ultralight/CAPI.h:498
func UlRectIsEmpty ¶
UlRectIsEmpty function as declared in Ultralight/CAPI.h:1163
func UlRender ¶
func UlRender(renderer ULRenderer)
UlRender function as declared in Ultralight/CAPI.h:492
func UlSessionGetId ¶
UlSessionGetId function as declared in Ultralight/CAPI.h:542
func UlSessionIsPersistent ¶
UlSessionIsPersistent function as declared in Ultralight/CAPI.h:532
func UlSettingsSetAppName ¶
func UlSettingsSetAppName(settings ULSettings, name ULString)
UlSettingsSetAppName function as declared in AppCore/CAPI.h:77
func UlSettingsSetDeveloperName ¶
func UlSettingsSetDeveloperName(settings ULSettings, name ULString)
UlSettingsSetDeveloperName function as declared in AppCore/CAPI.h:67
func UlSettingsSetFileSystemPath ¶
func UlSettingsSetFileSystemPath(settings ULSettings, path ULString)
UlSettingsSetFileSystemPath function as declared in AppCore/CAPI.h:92
func UlSettingsSetForceCPURenderer ¶
func UlSettingsSetForceCPURenderer(settings ULSettings, force_cpu bool)
UlSettingsSetForceCPURenderer function as declared in AppCore/CAPI.h:109
func UlSettingsSetLoadShadersFromFileSystem ¶
func UlSettingsSetLoadShadersFromFileSystem(settings ULSettings, enabled bool)
UlSettingsSetLoadShadersFromFileSystem function as declared in AppCore/CAPI.h:101
func UlStringAssignCString ¶
UlStringAssignCString function as declared in Ultralight/CAPI.h:989
func UlStringAssignString ¶
UlStringAssignString function as declared in Ultralight/CAPI.h:984
func UlStringGetLength ¶
UlStringGetLength function as declared in Ultralight/CAPI.h:974
func UlStringIsEmpty ¶
UlStringIsEmpty function as declared in Ultralight/CAPI.h:979
func UlSurfaceClearDirtyBounds ¶
func UlSurfaceClearDirtyBounds(surface ULSurface)
UlSurfaceClearDirtyBounds function as declared in Ultralight/CAPI.h:1261
func UlSurfaceGetHeight ¶
UlSurfaceGetHeight function as declared in Ultralight/CAPI.h:1196
func UlSurfaceGetRowBytes ¶
UlSurfaceGetRowBytes function as declared in Ultralight/CAPI.h:1201
func UlSurfaceGetSize ¶
UlSurfaceGetSize function as declared in Ultralight/CAPI.h:1206
func UlSurfaceGetUserData ¶
UlSurfaceGetUserData function as declared in Ultralight/CAPI.h:1269
func UlSurfaceGetWidth ¶
UlSurfaceGetWidth function as declared in Ultralight/CAPI.h:1191
func UlSurfaceLockPixels ¶
UlSurfaceLockPixels function as declared in Ultralight/CAPI.h:1214
func UlSurfaceResize ¶
UlSurfaceResize function as declared in Ultralight/CAPI.h:1226
func UlSurfaceSetDirtyBounds ¶
UlSurfaceSetDirtyBounds function as declared in Ultralight/CAPI.h:1234
func UlSurfaceUnlockPixels ¶
func UlSurfaceUnlockPixels(surface ULSurface)
UlSurfaceUnlockPixels function as declared in Ultralight/CAPI.h:1219
func UlUpdate ¶
func UlUpdate(renderer ULRenderer)
UlUpdate function as declared in Ultralight/CAPI.h:487
func UlVersionMajor ¶
func UlVersionMajor() uint32
UlVersionMajor function as declared in Ultralight/CAPI.h:273
func UlVersionMinor ¶
func UlVersionMinor() uint32
UlVersionMinor function as declared in Ultralight/CAPI.h:278
func UlVersionPatch ¶
func UlVersionPatch() uint32
UlVersionPatch function as declared in Ultralight/CAPI.h:283
func UlVersionString ¶
func UlVersionString() string
UlVersionString function as declared in Ultralight/CAPI.h:268
func UlViewCanGoBack ¶
UlViewCanGoBack function as declared in Ultralight/CAPI.h:679
func UlViewCanGoForward ¶
UlViewCanGoForward function as declared in Ultralight/CAPI.h:684
func UlViewFireKeyEvent ¶
func UlViewFireKeyEvent(view ULView, key_event ULKeyEvent)
UlViewFireKeyEvent function as declared in Ultralight/CAPI.h:744
func UlViewFireMouseEvent ¶
func UlViewFireMouseEvent(view ULView, mouse_event ULMouseEvent)
UlViewFireMouseEvent function as declared in Ultralight/CAPI.h:749
func UlViewFireScrollEvent ¶
func UlViewFireScrollEvent(view ULView, scroll_event ULScrollEvent)
UlViewFireScrollEvent function as declared in Ultralight/CAPI.h:754
func UlViewFocus ¶
func UlViewFocus(view ULView)
UlViewFocus function as declared in Ultralight/CAPI.h:717
func UlViewGetHeight ¶
UlViewGetHeight function as declared in Ultralight/CAPI.h:589
func UlViewGetNeedsPaint ¶
UlViewGetNeedsPaint function as declared in Ultralight/CAPI.h:925
func UlViewGetWidth ¶
UlViewGetWidth function as declared in Ultralight/CAPI.h:584
func UlViewGoBack ¶
func UlViewGoBack(view ULView)
UlViewGoBack function as declared in Ultralight/CAPI.h:689
func UlViewGoForward ¶
func UlViewGoForward(view ULView)
UlViewGoForward function as declared in Ultralight/CAPI.h:694
func UlViewGoToHistoryOffset ¶
UlViewGoToHistoryOffset function as declared in Ultralight/CAPI.h:699
func UlViewHasFocus ¶
UlViewHasFocus function as declared in Ultralight/CAPI.h:730
func UlViewHasInputFocus ¶
UlViewHasInputFocus function as declared in Ultralight/CAPI.h:739
func UlViewIsLoading ¶
UlViewIsLoading function as declared in Ultralight/CAPI.h:594
func UlViewLoadHTML ¶
UlViewLoadHTML function as declared in Ultralight/CAPI.h:622
func UlViewLoadURL ¶
UlViewLoadURL function as declared in Ultralight/CAPI.h:627
func UlViewReload ¶
func UlViewReload(view ULView)
UlViewReload function as declared in Ultralight/CAPI.h:704
func UlViewResize ¶
UlViewResize function as declared in Ultralight/CAPI.h:632
func UlViewSetAddConsoleMessageCallback ¶
func UlViewSetAddConsoleMessageCallback(view ULView, callback ULAddConsoleMessageCallback, user_data unsafe.Pointer)
UlViewSetAddConsoleMessageCallback function as declared in Ultralight/CAPI.h:807
func UlViewSetBeginLoadingCallback ¶
func UlViewSetBeginLoadingCallback(view ULView, callback ULBeginLoadingCallback, user_data unsafe.Pointer)
UlViewSetBeginLoadingCallback function as declared in Ultralight/CAPI.h:839
func UlViewSetChangeCursorCallback ¶
func UlViewSetChangeCursorCallback(view ULView, callback ULChangeCursorCallback, user_data unsafe.Pointer)
UlViewSetChangeCursorCallback function as declared in Ultralight/CAPI.h:792
func UlViewSetChangeTitleCallback ¶
func UlViewSetChangeTitleCallback(view ULView, callback ULChangeTitleCallback, user_data unsafe.Pointer)
UlViewSetChangeTitleCallback function as declared in Ultralight/CAPI.h:762
func UlViewSetChangeTooltipCallback ¶
func UlViewSetChangeTooltipCallback(view ULView, callback ULChangeTooltipCallback, user_data unsafe.Pointer)
UlViewSetChangeTooltipCallback function as declared in Ultralight/CAPI.h:782
func UlViewSetChangeURLCallback ¶
func UlViewSetChangeURLCallback(view ULView, callback ULChangeURLCallback, user_data unsafe.Pointer)
UlViewSetChangeURLCallback function as declared in Ultralight/CAPI.h:772
func UlViewSetCreateChildViewCallback ¶
func UlViewSetCreateChildViewCallback(view ULView, callback ULCreateChildViewCallback, user_data unsafe.Pointer)
UlViewSetCreateChildViewCallback function as declared in Ultralight/CAPI.h:828
func UlViewSetDOMReadyCallback ¶
func UlViewSetDOMReadyCallback(view ULView, callback ULDOMReadyCallback, user_data unsafe.Pointer)
UlViewSetDOMReadyCallback function as declared in Ultralight/CAPI.h:899
func UlViewSetFailLoadingCallback ¶
func UlViewSetFailLoadingCallback(view ULView, callback ULFailLoadingCallback, user_data unsafe.Pointer)
UlViewSetFailLoadingCallback function as declared in Ultralight/CAPI.h:862
func UlViewSetFinishLoadingCallback ¶
func UlViewSetFinishLoadingCallback(view ULView, callback ULFinishLoadingCallback, user_data unsafe.Pointer)
UlViewSetFinishLoadingCallback function as declared in Ultralight/CAPI.h:850
func UlViewSetNeedsPaint ¶
UlViewSetNeedsPaint function as declared in Ultralight/CAPI.h:920
func UlViewSetUpdateHistoryCallback ¶
func UlViewSetUpdateHistoryCallback(view ULView, callback ULUpdateHistoryCallback, user_data unsafe.Pointer)
UlViewSetUpdateHistoryCallback function as declared in Ultralight/CAPI.h:909
func UlViewSetWindowObjectReadyCallback ¶
func UlViewSetWindowObjectReadyCallback(view ULView, callback ULWindowObjectReadyCallback, user_data unsafe.Pointer)
UlViewSetWindowObjectReadyCallback function as declared in Ultralight/CAPI.h:884
func UlViewStop ¶
func UlViewStop(view ULView)
UlViewStop function as declared in Ultralight/CAPI.h:709
func UlViewUnfocus ¶
func UlViewUnfocus(view ULView)
UlViewUnfocus function as declared in Ultralight/CAPI.h:725
func UlViewUnlockJSContext ¶
func UlViewUnlockJSContext(view ULView)
UlViewUnlockJSContext function as declared in Ultralight/CAPI.h:650
func UlWindowClose ¶
func UlWindowClose(window ULWindow)
UlWindowClose function as declared in AppCore/CAPI.h:278
func UlWindowDeviceToPixel ¶
UlWindowDeviceToPixel function as declared in AppCore/CAPI.h:283
func UlWindowGetHeight ¶
UlWindowGetHeight function as declared in AppCore/CAPI.h:253
func UlWindowGetNativeHandle ¶
UlWindowGetNativeHandle function as declared in AppCore/CAPI.h:297
func UlWindowGetScale ¶
UlWindowGetScale function as declared in AppCore/CAPI.h:263
func UlWindowGetWidth ¶
UlWindowGetWidth function as declared in AppCore/CAPI.h:248
func UlWindowIsFullscreen ¶
UlWindowIsFullscreen function as declared in AppCore/CAPI.h:258
func UlWindowPixelsToDevice ¶
UlWindowPixelsToDevice function as declared in AppCore/CAPI.h:288
func UlWindowSetCloseCallback ¶
func UlWindowSetCloseCallback(window ULWindow, callback ULCloseCallback, user_data unsafe.Pointer)
UlWindowSetCloseCallback function as declared in AppCore/CAPI.h:230
func UlWindowSetCursor ¶
UlWindowSetCursor function as declared in AppCore/CAPI.h:273
func UlWindowSetResizeCallback ¶
func UlWindowSetResizeCallback(window ULWindow, callback ULResizeCallback, user_data unsafe.Pointer)
UlWindowSetResizeCallback function as declared in AppCore/CAPI.h:241
func UlWindowSetTitle ¶
UlWindowSetTitle function as declared in AppCore/CAPI.h:268
Types ¶
type JSChar ¶
type JSChar uint16
JSChar type as declared in JavaScriptCore/JSStringRef.h:49
func JSStringGetCharactersPtr ¶
func JSStringGetCharactersPtr(string JSStringRef) *JSChar
JSStringGetCharactersPtr function as declared in JavaScriptCore/JSStringRef.h:99
type JSClassAttributes ¶
type JSClassAttributes uint32
JSClassAttributes type as declared in JavaScriptCore/JSObjectRef.h:77
type JSClassDefinition ¶
type JSClassDefinition struct { Version int32 Attributes JSClassAttributes ClassName string ParentClass JSClassRef PrivateData unsafe.Pointer // contains filtered or unexported fields }
JSClassDefinition as declared in JavaScriptCore/JSObjectRef.h:448
var KJSClassDefinitionEmpty JSClassDefinition
func NewJSClassDefinitionRef ¶
func NewJSClassDefinitionRef(ref unsafe.Pointer) *JSClassDefinition
NewJSClassDefinitionRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*JSClassDefinition) Deref ¶
func (x *JSClassDefinition) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*JSClassDefinition) Free ¶
func (x *JSClassDefinition) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*JSClassDefinition) PassRef ¶
func (x *JSClassDefinition) PassRef() (*C.JSClassDefinition, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (JSClassDefinition) PassValue ¶
func (x JSClassDefinition) PassValue() (C.JSClassDefinition, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*JSClassDefinition) Ref ¶
func (x *JSClassDefinition) Ref() *C.JSClassDefinition
Ref returns the underlying reference to C object or nil if struct is nil.
type JSClassRef ¶
type JSClassRef C.JSClassRef
JSClassRef as declared in JavaScriptCore/JSBase.h:52
func JSClassCreate ¶
func JSClassCreate(definition []JSClassDefinition) JSClassRef
JSClassCreate function as declared in JavaScriptCore/JSObjectRef.h:466
func JSClassRetain ¶
func JSClassRetain(jsClass JSClassRef) JSClassRef
JSClassRetain function as declared in JavaScriptCore/JSObjectRef.h:474
type JSContextGroupRef ¶
type JSContextGroupRef C.JSContextGroupRef
JSContextGroupRef as declared in JavaScriptCore/JSBase.h:40
func JSContextGetGroup ¶
func JSContextGetGroup(ctx JSContextRef) JSContextGroupRef
JSContextGetGroup function as declared in JavaScriptCore/JSContextRef.h:131
func JSContextGroupCreate ¶
func JSContextGroupCreate() JSContextGroupRef
JSContextGroupCreate function as declared in JavaScriptCore/JSContextRef.h:56
func JSContextGroupRetain ¶
func JSContextGroupRetain(group JSContextGroupRef) JSContextGroupRef
JSContextGroupRetain function as declared in JavaScriptCore/JSContextRef.h:64
type JSContextRef ¶
type JSContextRef C.JSContextRef
JSContextRef as declared in JavaScriptCore/JSBase.h:43
func UlViewLockJSContext ¶
func UlViewLockJSContext(view ULView) JSContextRef
UlViewLockJSContext function as declared in Ultralight/CAPI.h:645
type JSGlobalContextRef ¶
type JSGlobalContextRef C.JSGlobalContextRef
JSGlobalContextRef as declared in JavaScriptCore/JSBase.h:46
func JSContextGetGlobalContext ¶
func JSContextGetGlobalContext(ctx JSContextRef) JSGlobalContextRef
JSContextGetGlobalContext function as declared in JavaScriptCore/JSContextRef.h:139
func JSGlobalContextCreate ¶
func JSGlobalContextCreate(globalObjectClass JSClassRef) JSGlobalContextRef
JSGlobalContextCreate function as declared in JavaScriptCore/JSContextRef.h:86
func JSGlobalContextCreateInGroup ¶
func JSGlobalContextCreateInGroup(group JSContextGroupRef, globalObjectClass JSClassRef) JSGlobalContextRef
JSGlobalContextCreateInGroup function as declared in JavaScriptCore/JSContextRef.h:100
func JSGlobalContextRetain ¶
func JSGlobalContextRetain(ctx JSGlobalContextRef) JSGlobalContextRef
JSGlobalContextRetain function as declared in JavaScriptCore/JSContextRef.h:108
type JSObjectCallAsConstructorCallback ¶
type JSObjectCallAsConstructorCallback func(ctx JSContextRef, constructor JSObjectRef, argumentCount uint, arguments []JSValueRef, exception []JSValueRef) JSObjectRef
JSObjectCallAsConstructorCallback type as declared in JavaScriptCore/JSObjectRef.h:274
func NewJSObjectCallAsConstructorCallbackRef ¶
func NewJSObjectCallAsConstructorCallbackRef(ref unsafe.Pointer) *JSObjectCallAsConstructorCallback
func (JSObjectCallAsConstructorCallback) PassRef ¶
func (x JSObjectCallAsConstructorCallback) PassRef() (ref *C.JSObjectCallAsConstructorCallback, allocs *cgoAllocMap)
func (JSObjectCallAsConstructorCallback) PassValue ¶
func (x JSObjectCallAsConstructorCallback) PassValue() (ref C.JSObjectCallAsConstructorCallback, allocs *cgoAllocMap)
type JSObjectCallAsConstructorCallbackEx ¶
type JSObjectCallAsConstructorCallbackEx func(ctx JSContextRef, jsClass JSClassRef, constructor JSObjectRef, argumentCount uint, arguments []JSValueRef, exception []JSValueRef) JSObjectRef
JSObjectCallAsConstructorCallbackEx type as declared in JavaScriptCore/JSObjectRef.h:278
func NewJSObjectCallAsConstructorCallbackExRef ¶
func NewJSObjectCallAsConstructorCallbackExRef(ref unsafe.Pointer) *JSObjectCallAsConstructorCallbackEx
func (JSObjectCallAsConstructorCallbackEx) PassRef ¶
func (x JSObjectCallAsConstructorCallbackEx) PassRef() (ref *C.JSObjectCallAsConstructorCallbackEx, allocs *cgoAllocMap)
func (JSObjectCallAsConstructorCallbackEx) PassValue ¶
func (x JSObjectCallAsConstructorCallbackEx) PassValue() (ref C.JSObjectCallAsConstructorCallbackEx, allocs *cgoAllocMap)
type JSObjectCallAsFunctionCallback ¶
type JSObjectCallAsFunctionCallback func(ctx JSContextRef, function JSObjectRef, thisObject JSObjectRef, argumentCount uint, arguments []JSValueRef, exception []JSValueRef) JSValueRef
JSObjectCallAsFunctionCallback type as declared in JavaScriptCore/JSObjectRef.h:248
func NewJSObjectCallAsFunctionCallbackRef ¶
func NewJSObjectCallAsFunctionCallbackRef(ref unsafe.Pointer) *JSObjectCallAsFunctionCallback
func (JSObjectCallAsFunctionCallback) PassRef ¶
func (x JSObjectCallAsFunctionCallback) PassRef() (ref *C.JSObjectCallAsFunctionCallback, allocs *cgoAllocMap)
func (JSObjectCallAsFunctionCallback) PassValue ¶
func (x JSObjectCallAsFunctionCallback) PassValue() (ref C.JSObjectCallAsFunctionCallback, allocs *cgoAllocMap)
type JSObjectCallAsFunctionCallbackEx ¶
type JSObjectCallAsFunctionCallbackEx func(ctx JSContextRef, jsClass JSClassRef, className JSStringRef, function JSObjectRef, thisObject JSObjectRef, argumentCount uint, arguments []JSValueRef, exception []JSValueRef) JSValueRef
JSObjectCallAsFunctionCallbackEx type as declared in JavaScriptCore/JSObjectRef.h:254
func NewJSObjectCallAsFunctionCallbackExRef ¶
func NewJSObjectCallAsFunctionCallbackExRef(ref unsafe.Pointer) *JSObjectCallAsFunctionCallbackEx
func (JSObjectCallAsFunctionCallbackEx) PassRef ¶
func (x JSObjectCallAsFunctionCallbackEx) PassRef() (ref *C.JSObjectCallAsFunctionCallbackEx, allocs *cgoAllocMap)
func (JSObjectCallAsFunctionCallbackEx) PassValue ¶
func (x JSObjectCallAsFunctionCallbackEx) PassValue() (ref C.JSObjectCallAsFunctionCallbackEx, allocs *cgoAllocMap)
type JSObjectConvertToTypeCallback ¶
type JSObjectConvertToTypeCallback func(ctx JSContextRef, object JSObjectRef, _type JSType, exception []JSValueRef) JSValueRef
JSObjectConvertToTypeCallback type as declared in JavaScriptCore/JSObjectRef.h:322
func NewJSObjectConvertToTypeCallbackRef ¶
func NewJSObjectConvertToTypeCallbackRef(ref unsafe.Pointer) *JSObjectConvertToTypeCallback
func (JSObjectConvertToTypeCallback) PassRef ¶
func (x JSObjectConvertToTypeCallback) PassRef() (ref *C.JSObjectConvertToTypeCallback, allocs *cgoAllocMap)
func (JSObjectConvertToTypeCallback) PassValue ¶
func (x JSObjectConvertToTypeCallback) PassValue() (ref C.JSObjectConvertToTypeCallback, allocs *cgoAllocMap)
type JSObjectConvertToTypeCallbackEx ¶
type JSObjectConvertToTypeCallbackEx func(ctx JSContextRef, jsClass JSClassRef, object JSObjectRef, _type JSType, exception []JSValueRef) JSValueRef
JSObjectConvertToTypeCallbackEx type as declared in JavaScriptCore/JSObjectRef.h:326
func NewJSObjectConvertToTypeCallbackExRef ¶
func NewJSObjectConvertToTypeCallbackExRef(ref unsafe.Pointer) *JSObjectConvertToTypeCallbackEx
func (JSObjectConvertToTypeCallbackEx) PassRef ¶
func (x JSObjectConvertToTypeCallbackEx) PassRef() (ref *C.JSObjectConvertToTypeCallbackEx, allocs *cgoAllocMap)
func (JSObjectConvertToTypeCallbackEx) PassValue ¶
func (x JSObjectConvertToTypeCallbackEx) PassValue() (ref C.JSObjectConvertToTypeCallbackEx, allocs *cgoAllocMap)
type JSObjectDeletePropertyCallback ¶
type JSObjectDeletePropertyCallback func(ctx JSContextRef, object JSObjectRef, propertyName JSStringRef, exception []JSValueRef) bool
JSObjectDeletePropertyCallback type as declared in JavaScriptCore/JSObjectRef.h:202
func NewJSObjectDeletePropertyCallbackRef ¶
func NewJSObjectDeletePropertyCallbackRef(ref unsafe.Pointer) *JSObjectDeletePropertyCallback
func (JSObjectDeletePropertyCallback) PassRef ¶
func (x JSObjectDeletePropertyCallback) PassRef() (ref *C.JSObjectDeletePropertyCallback, allocs *cgoAllocMap)
func (JSObjectDeletePropertyCallback) PassValue ¶
func (x JSObjectDeletePropertyCallback) PassValue() (ref C.JSObjectDeletePropertyCallback, allocs *cgoAllocMap)
type JSObjectDeletePropertyCallbackEx ¶
type JSObjectDeletePropertyCallbackEx func(ctx JSContextRef, jsClass JSClassRef, object JSObjectRef, propertyName JSStringRef, exception []JSValueRef) bool
JSObjectDeletePropertyCallbackEx type as declared in JavaScriptCore/JSObjectRef.h:206
func NewJSObjectDeletePropertyCallbackExRef ¶
func NewJSObjectDeletePropertyCallbackExRef(ref unsafe.Pointer) *JSObjectDeletePropertyCallbackEx
func (JSObjectDeletePropertyCallbackEx) PassRef ¶
func (x JSObjectDeletePropertyCallbackEx) PassRef() (ref *C.JSObjectDeletePropertyCallbackEx, allocs *cgoAllocMap)
func (JSObjectDeletePropertyCallbackEx) PassValue ¶
func (x JSObjectDeletePropertyCallbackEx) PassValue() (ref C.JSObjectDeletePropertyCallbackEx, allocs *cgoAllocMap)
type JSObjectFinalizeCallback ¶
type JSObjectFinalizeCallback func(object JSObjectRef)
JSObjectFinalizeCallback type as declared in JavaScriptCore/JSObjectRef.h:114
func NewJSObjectFinalizeCallbackRef ¶
func NewJSObjectFinalizeCallbackRef(ref unsafe.Pointer) *JSObjectFinalizeCallback
func (JSObjectFinalizeCallback) PassRef ¶
func (x JSObjectFinalizeCallback) PassRef() (ref *C.JSObjectFinalizeCallback, allocs *cgoAllocMap)
func (JSObjectFinalizeCallback) PassValue ¶
func (x JSObjectFinalizeCallback) PassValue() (ref C.JSObjectFinalizeCallback, allocs *cgoAllocMap)
type JSObjectFinalizeCallbackEx ¶
type JSObjectFinalizeCallbackEx func(jsClass JSClassRef, object JSObjectRef)
JSObjectFinalizeCallbackEx type as declared in JavaScriptCore/JSObjectRef.h:118
func NewJSObjectFinalizeCallbackExRef ¶
func NewJSObjectFinalizeCallbackExRef(ref unsafe.Pointer) *JSObjectFinalizeCallbackEx
func (JSObjectFinalizeCallbackEx) PassRef ¶
func (x JSObjectFinalizeCallbackEx) PassRef() (ref *C.JSObjectFinalizeCallbackEx, allocs *cgoAllocMap)
func (JSObjectFinalizeCallbackEx) PassValue ¶
func (x JSObjectFinalizeCallbackEx) PassValue() (ref C.JSObjectFinalizeCallbackEx, allocs *cgoAllocMap)
type JSObjectGetPropertyCallback ¶
type JSObjectGetPropertyCallback func(ctx JSContextRef, object JSObjectRef, propertyName JSStringRef, exception []JSValueRef) JSValueRef
JSObjectGetPropertyCallback type as declared in JavaScriptCore/JSObjectRef.h:159
func NewJSObjectGetPropertyCallbackRef ¶
func NewJSObjectGetPropertyCallbackRef(ref unsafe.Pointer) *JSObjectGetPropertyCallback
func (JSObjectGetPropertyCallback) PassRef ¶
func (x JSObjectGetPropertyCallback) PassRef() (ref *C.JSObjectGetPropertyCallback, allocs *cgoAllocMap)
func (JSObjectGetPropertyCallback) PassValue ¶
func (x JSObjectGetPropertyCallback) PassValue() (ref C.JSObjectGetPropertyCallback, allocs *cgoAllocMap)
type JSObjectGetPropertyCallbackEx ¶
type JSObjectGetPropertyCallbackEx func(ctx JSContextRef, jsClass JSClassRef, object JSObjectRef, propertyName JSStringRef, exception []JSValueRef) JSValueRef
JSObjectGetPropertyCallbackEx type as declared in JavaScriptCore/JSObjectRef.h:163
func NewJSObjectGetPropertyCallbackExRef ¶
func NewJSObjectGetPropertyCallbackExRef(ref unsafe.Pointer) *JSObjectGetPropertyCallbackEx
func (JSObjectGetPropertyCallbackEx) PassRef ¶
func (x JSObjectGetPropertyCallbackEx) PassRef() (ref *C.JSObjectGetPropertyCallbackEx, allocs *cgoAllocMap)
func (JSObjectGetPropertyCallbackEx) PassValue ¶
func (x JSObjectGetPropertyCallbackEx) PassValue() (ref C.JSObjectGetPropertyCallbackEx, allocs *cgoAllocMap)
type JSObjectGetPropertyNamesCallback ¶
type JSObjectGetPropertyNamesCallback func(ctx JSContextRef, object JSObjectRef, propertyNames JSPropertyNameAccumulatorRef)
JSObjectGetPropertyNamesCallback type as declared in JavaScriptCore/JSObjectRef.h:223
func NewJSObjectGetPropertyNamesCallbackRef ¶
func NewJSObjectGetPropertyNamesCallbackRef(ref unsafe.Pointer) *JSObjectGetPropertyNamesCallback
func (JSObjectGetPropertyNamesCallback) PassRef ¶
func (x JSObjectGetPropertyNamesCallback) PassRef() (ref *C.JSObjectGetPropertyNamesCallback, allocs *cgoAllocMap)
func (JSObjectGetPropertyNamesCallback) PassValue ¶
func (x JSObjectGetPropertyNamesCallback) PassValue() (ref C.JSObjectGetPropertyNamesCallback, allocs *cgoAllocMap)
type JSObjectGetPropertyNamesCallbackEx ¶
type JSObjectGetPropertyNamesCallbackEx func(ctx JSContextRef, jsClass JSClassRef, object JSObjectRef, propertyNames JSPropertyNameAccumulatorRef)
JSObjectGetPropertyNamesCallbackEx type as declared in JavaScriptCore/JSObjectRef.h:227
func NewJSObjectGetPropertyNamesCallbackExRef ¶
func NewJSObjectGetPropertyNamesCallbackExRef(ref unsafe.Pointer) *JSObjectGetPropertyNamesCallbackEx
func (JSObjectGetPropertyNamesCallbackEx) PassRef ¶
func (x JSObjectGetPropertyNamesCallbackEx) PassRef() (ref *C.JSObjectGetPropertyNamesCallbackEx, allocs *cgoAllocMap)
func (JSObjectGetPropertyNamesCallbackEx) PassValue ¶
func (x JSObjectGetPropertyNamesCallbackEx) PassValue() (ref C.JSObjectGetPropertyNamesCallbackEx, allocs *cgoAllocMap)
type JSObjectHasInstanceCallback ¶
type JSObjectHasInstanceCallback func(ctx JSContextRef, constructor JSObjectRef, possibleInstance JSValueRef, exception []JSValueRef) bool
JSObjectHasInstanceCallback type as declared in JavaScriptCore/JSObjectRef.h:299
func NewJSObjectHasInstanceCallbackRef ¶
func NewJSObjectHasInstanceCallbackRef(ref unsafe.Pointer) *JSObjectHasInstanceCallback
func (JSObjectHasInstanceCallback) PassRef ¶
func (x JSObjectHasInstanceCallback) PassRef() (ref *C.JSObjectHasInstanceCallback, allocs *cgoAllocMap)
func (JSObjectHasInstanceCallback) PassValue ¶
func (x JSObjectHasInstanceCallback) PassValue() (ref C.JSObjectHasInstanceCallback, allocs *cgoAllocMap)
type JSObjectHasInstanceCallbackEx ¶
type JSObjectHasInstanceCallbackEx func(ctx JSContextRef, jsClass JSClassRef, constructor JSObjectRef, possibleInstance JSValueRef, exception []JSValueRef) bool
JSObjectHasInstanceCallbackEx type as declared in JavaScriptCore/JSObjectRef.h:303
func NewJSObjectHasInstanceCallbackExRef ¶
func NewJSObjectHasInstanceCallbackExRef(ref unsafe.Pointer) *JSObjectHasInstanceCallbackEx
func (JSObjectHasInstanceCallbackEx) PassRef ¶
func (x JSObjectHasInstanceCallbackEx) PassRef() (ref *C.JSObjectHasInstanceCallbackEx, allocs *cgoAllocMap)
func (JSObjectHasInstanceCallbackEx) PassValue ¶
func (x JSObjectHasInstanceCallbackEx) PassValue() (ref C.JSObjectHasInstanceCallbackEx, allocs *cgoAllocMap)
type JSObjectHasPropertyCallback ¶
type JSObjectHasPropertyCallback func(ctx JSContextRef, object JSObjectRef, propertyName JSStringRef) bool
JSObjectHasPropertyCallback type as declared in JavaScriptCore/JSObjectRef.h:138
func NewJSObjectHasPropertyCallbackRef ¶
func NewJSObjectHasPropertyCallbackRef(ref unsafe.Pointer) *JSObjectHasPropertyCallback
func (JSObjectHasPropertyCallback) PassRef ¶
func (x JSObjectHasPropertyCallback) PassRef() (ref *C.JSObjectHasPropertyCallback, allocs *cgoAllocMap)
func (JSObjectHasPropertyCallback) PassValue ¶
func (x JSObjectHasPropertyCallback) PassValue() (ref C.JSObjectHasPropertyCallback, allocs *cgoAllocMap)
type JSObjectHasPropertyCallbackEx ¶
type JSObjectHasPropertyCallbackEx func(ctx JSContextRef, jsClass JSClassRef, object JSObjectRef, propertyName JSStringRef) bool
JSObjectHasPropertyCallbackEx type as declared in JavaScriptCore/JSObjectRef.h:142
func NewJSObjectHasPropertyCallbackExRef ¶
func NewJSObjectHasPropertyCallbackExRef(ref unsafe.Pointer) *JSObjectHasPropertyCallbackEx
func (JSObjectHasPropertyCallbackEx) PassRef ¶
func (x JSObjectHasPropertyCallbackEx) PassRef() (ref *C.JSObjectHasPropertyCallbackEx, allocs *cgoAllocMap)
func (JSObjectHasPropertyCallbackEx) PassValue ¶
func (x JSObjectHasPropertyCallbackEx) PassValue() (ref C.JSObjectHasPropertyCallbackEx, allocs *cgoAllocMap)
type JSObjectInitializeCallback ¶
type JSObjectInitializeCallback func(ctx JSContextRef, object JSObjectRef)
JSObjectInitializeCallback type as declared in JavaScriptCore/JSObjectRef.h:92
func NewJSObjectInitializeCallbackRef ¶
func NewJSObjectInitializeCallbackRef(ref unsafe.Pointer) *JSObjectInitializeCallback
func (JSObjectInitializeCallback) PassRef ¶
func (x JSObjectInitializeCallback) PassRef() (ref *C.JSObjectInitializeCallback, allocs *cgoAllocMap)
func (JSObjectInitializeCallback) PassValue ¶
func (x JSObjectInitializeCallback) PassValue() (ref C.JSObjectInitializeCallback, allocs *cgoAllocMap)
type JSObjectInitializeCallbackEx ¶
type JSObjectInitializeCallbackEx func(ctx JSContextRef, jsClass JSClassRef, object JSObjectRef)
JSObjectInitializeCallbackEx type as declared in JavaScriptCore/JSObjectRef.h:96
func NewJSObjectInitializeCallbackExRef ¶
func NewJSObjectInitializeCallbackExRef(ref unsafe.Pointer) *JSObjectInitializeCallbackEx
func (JSObjectInitializeCallbackEx) PassRef ¶
func (x JSObjectInitializeCallbackEx) PassRef() (ref *C.JSObjectInitializeCallbackEx, allocs *cgoAllocMap)
func (JSObjectInitializeCallbackEx) PassValue ¶
func (x JSObjectInitializeCallbackEx) PassValue() (ref C.JSObjectInitializeCallbackEx, allocs *cgoAllocMap)
type JSObjectRef ¶
type JSObjectRef C.JSObjectRef
JSObjectRef as declared in JavaScriptCore/JSBase.h:69
func JSContextGetGlobalObject ¶
func JSContextGetGlobalObject(ctx JSContextRef) JSObjectRef
JSContextGetGlobalObject function as declared in JavaScriptCore/JSContextRef.h:123
func JSObjectCallAsConstructor ¶
func JSObjectCallAsConstructor(ctx JSContextRef, object JSObjectRef, argumentCount uint, arguments []JSValueRef, exception []JSValueRef) JSObjectRef
JSObjectCallAsConstructor function as declared in JavaScriptCore/JSObjectRef.h:766
func JSObjectGetTypedArrayBuffer ¶
func JSObjectGetTypedArrayBuffer(ctx JSContextRef, object JSObjectRef, exception []JSValueRef) JSObjectRef
JSObjectGetTypedArrayBuffer function as declared in JavaScriptCore/JSTypedArray.h:138
func JSObjectMake ¶
func JSObjectMake(ctx JSContextRef, jsClass JSClassRef, data unsafe.Pointer) JSObjectRef
JSObjectMake function as declared in JavaScriptCore/JSObjectRef.h:495
func JSObjectMakeArray ¶
func JSObjectMakeArray(ctx JSContextRef, argumentCount uint, arguments []JSValueRef, exception []JSValueRef) JSObjectRef
JSObjectMakeArray function as declared in JavaScriptCore/JSObjectRef.h:529
func JSObjectMakeArrayBufferWithBytesNoCopy ¶
func JSObjectMakeArrayBufferWithBytesNoCopy(ctx JSContextRef, bytes unsafe.Pointer, byteLength uint, bytesDeallocator JSTypedArrayBytesDeallocator, deallocatorContext unsafe.Pointer, exception []JSValueRef) JSObjectRef
JSObjectMakeArrayBufferWithBytesNoCopy function as declared in JavaScriptCore/JSTypedArray.h:154
func JSObjectMakeConstructor ¶
func JSObjectMakeConstructor(ctx JSContextRef, jsClass JSClassRef, callAsConstructor JSObjectCallAsConstructorCallback) JSObjectRef
JSObjectMakeConstructor function as declared in JavaScriptCore/JSObjectRef.h:516
func JSObjectMakeDate ¶
func JSObjectMakeDate(ctx JSContextRef, argumentCount uint, arguments []JSValueRef, exception []JSValueRef) JSObjectRef
JSObjectMakeDate function as declared in JavaScriptCore/JSObjectRef.h:540
func JSObjectMakeDeferredPromise ¶
func JSObjectMakeDeferredPromise(ctx JSContextRef, resolve []JSObjectRef, reject []JSObjectRef, exception []JSValueRef) JSObjectRef
JSObjectMakeDeferredPromise function as declared in JavaScriptCore/JSObjectRef.h:573
func JSObjectMakeError ¶
func JSObjectMakeError(ctx JSContextRef, argumentCount uint, arguments []JSValueRef, exception []JSValueRef) JSObjectRef
JSObjectMakeError function as declared in JavaScriptCore/JSObjectRef.h:551
func JSObjectMakeFunction ¶
func JSObjectMakeFunction(ctx JSContextRef, name JSStringRef, parameterCount uint32, parameterNames []JSStringRef, body JSStringRef, sourceURL JSStringRef, startingLineNumber int32, exception []JSValueRef) JSObjectRef
JSObjectMakeFunction function as declared in JavaScriptCore/JSObjectRef.h:589
func JSObjectMakeFunctionWithCallback ¶
func JSObjectMakeFunctionWithCallback(ctx JSContextRef, name JSStringRef, callAsFunction JSObjectCallAsFunctionCallback) JSObjectRef
JSObjectMakeFunctionWithCallback function as declared in JavaScriptCore/JSObjectRef.h:505
func JSObjectMakeRegExp ¶
func JSObjectMakeRegExp(ctx JSContextRef, argumentCount uint, arguments []JSValueRef, exception []JSValueRef) JSObjectRef
JSObjectMakeRegExp function as declared in JavaScriptCore/JSObjectRef.h:562
func JSObjectMakeTypedArray ¶
func JSObjectMakeTypedArray(ctx JSContextRef, arrayType JSTypedArrayType, length uint, exception []JSValueRef) JSObjectRef
JSObjectMakeTypedArray function as declared in JavaScriptCore/JSTypedArray.h:48
func JSObjectMakeTypedArrayWithArrayBuffer ¶
func JSObjectMakeTypedArrayWithArrayBuffer(ctx JSContextRef, arrayType JSTypedArrayType, buffer JSObjectRef, exception []JSValueRef) JSObjectRef
JSObjectMakeTypedArrayWithArrayBuffer function as declared in JavaScriptCore/JSTypedArray.h:74
func JSObjectMakeTypedArrayWithArrayBufferAndOffset ¶
func JSObjectMakeTypedArrayWithArrayBufferAndOffset(ctx JSContextRef, arrayType JSTypedArrayType, buffer JSObjectRef, byteOffset uint, length uint, exception []JSValueRef) JSObjectRef
JSObjectMakeTypedArrayWithArrayBufferAndOffset function as declared in JavaScriptCore/JSTypedArray.h:87
func JSObjectMakeTypedArrayWithBytesNoCopy ¶
func JSObjectMakeTypedArrayWithBytesNoCopy(ctx JSContextRef, arrayType JSTypedArrayType, bytes unsafe.Pointer, byteLength uint, bytesDeallocator JSTypedArrayBytesDeallocator, deallocatorContext unsafe.Pointer, exception []JSValueRef) JSObjectRef
JSObjectMakeTypedArrayWithBytesNoCopy function as declared in JavaScriptCore/JSTypedArray.h:63
func JSValueToObject ¶
func JSValueToObject(ctx JSContextRef, value JSValueRef, exception []JSValueRef) JSObjectRef
JSValueToObject function as declared in JavaScriptCore/JSValueRef.h:352
type JSObjectSetPropertyCallback ¶
type JSObjectSetPropertyCallback func(ctx JSContextRef, object JSObjectRef, propertyName JSStringRef, value JSValueRef, exception []JSValueRef) bool
JSObjectSetPropertyCallback type as declared in JavaScriptCore/JSObjectRef.h:181
func NewJSObjectSetPropertyCallbackRef ¶
func NewJSObjectSetPropertyCallbackRef(ref unsafe.Pointer) *JSObjectSetPropertyCallback
func (JSObjectSetPropertyCallback) PassRef ¶
func (x JSObjectSetPropertyCallback) PassRef() (ref *C.JSObjectSetPropertyCallback, allocs *cgoAllocMap)
func (JSObjectSetPropertyCallback) PassValue ¶
func (x JSObjectSetPropertyCallback) PassValue() (ref C.JSObjectSetPropertyCallback, allocs *cgoAllocMap)
type JSObjectSetPropertyCallbackEx ¶
type JSObjectSetPropertyCallbackEx func(ctx JSContextRef, jsClass JSClassRef, object JSObjectRef, propertyName JSStringRef, value JSValueRef, exception []JSValueRef) bool
JSObjectSetPropertyCallbackEx type as declared in JavaScriptCore/JSObjectRef.h:185
func NewJSObjectSetPropertyCallbackExRef ¶
func NewJSObjectSetPropertyCallbackExRef(ref unsafe.Pointer) *JSObjectSetPropertyCallbackEx
func (JSObjectSetPropertyCallbackEx) PassRef ¶
func (x JSObjectSetPropertyCallbackEx) PassRef() (ref *C.JSObjectSetPropertyCallbackEx, allocs *cgoAllocMap)
func (JSObjectSetPropertyCallbackEx) PassValue ¶
func (x JSObjectSetPropertyCallbackEx) PassValue() (ref C.JSObjectSetPropertyCallbackEx, allocs *cgoAllocMap)
type JSPropertyAttributes ¶
type JSPropertyAttributes uint32
JSPropertyAttributes type as declared in JavaScriptCore/JSObjectRef.h:61
type JSPropertyNameAccumulatorRef ¶
type JSPropertyNameAccumulatorRef C.JSPropertyNameAccumulatorRef
JSPropertyNameAccumulatorRef as declared in JavaScriptCore/JSBase.h:58
type JSPropertyNameArrayRef ¶
type JSPropertyNameArrayRef C.JSPropertyNameArrayRef
JSPropertyNameArrayRef as declared in JavaScriptCore/JSBase.h:55
func JSObjectCopyPropertyNames ¶
func JSObjectCopyPropertyNames(ctx JSContextRef, object JSObjectRef) JSPropertyNameArrayRef
JSObjectCopyPropertyNames function as declared in JavaScriptCore/JSObjectRef.h:775
func JSPropertyNameArrayRetain ¶
func JSPropertyNameArrayRetain(array JSPropertyNameArrayRef) JSPropertyNameArrayRef
JSPropertyNameArrayRetain function as declared in JavaScriptCore/JSObjectRef.h:783
type JSStaticFunction ¶
type JSStaticFunction struct { Name string CallAsFunction JSObjectCallAsFunctionCallback Attributes JSPropertyAttributes // contains filtered or unexported fields }
JSStaticFunction as declared in JavaScriptCore/JSObjectRef.h:362
func NewJSStaticFunctionRef ¶
func NewJSStaticFunctionRef(ref unsafe.Pointer) *JSStaticFunction
NewJSStaticFunctionRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*JSStaticFunction) Deref ¶
func (x *JSStaticFunction) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*JSStaticFunction) Free ¶
func (x *JSStaticFunction) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*JSStaticFunction) PassRef ¶
func (x *JSStaticFunction) PassRef() (*C.JSStaticFunction, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (JSStaticFunction) PassValue ¶
func (x JSStaticFunction) PassValue() (C.JSStaticFunction, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*JSStaticFunction) Ref ¶
func (x *JSStaticFunction) Ref() *C.JSStaticFunction
Ref returns the underlying reference to C object or nil if struct is nil.
type JSStaticFunctionEx ¶
type JSStaticFunctionEx struct { Name string CallAsFunctionEx JSObjectCallAsFunctionCallbackEx Attributes JSPropertyAttributes // contains filtered or unexported fields }
JSStaticFunctionEx as declared in JavaScriptCore/JSObjectRef.h:369
func NewJSStaticFunctionExRef ¶
func NewJSStaticFunctionExRef(ref unsafe.Pointer) *JSStaticFunctionEx
NewJSStaticFunctionExRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*JSStaticFunctionEx) Deref ¶
func (x *JSStaticFunctionEx) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*JSStaticFunctionEx) Free ¶
func (x *JSStaticFunctionEx) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*JSStaticFunctionEx) PassRef ¶
func (x *JSStaticFunctionEx) PassRef() (*C.JSStaticFunctionEx, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (JSStaticFunctionEx) PassValue ¶
func (x JSStaticFunctionEx) PassValue() (C.JSStaticFunctionEx, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*JSStaticFunctionEx) Ref ¶
func (x *JSStaticFunctionEx) Ref() *C.JSStaticFunctionEx
Ref returns the underlying reference to C object or nil if struct is nil.
type JSStaticValue ¶
type JSStaticValue struct { Name string GetProperty JSObjectGetPropertyCallback SetProperty JSObjectSetPropertyCallback Attributes JSPropertyAttributes // contains filtered or unexported fields }
JSStaticValue as declared in JavaScriptCore/JSObjectRef.h:341
func NewJSStaticValueRef ¶
func NewJSStaticValueRef(ref unsafe.Pointer) *JSStaticValue
NewJSStaticValueRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*JSStaticValue) Deref ¶
func (x *JSStaticValue) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*JSStaticValue) Free ¶
func (x *JSStaticValue) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*JSStaticValue) PassRef ¶
func (x *JSStaticValue) PassRef() (*C.JSStaticValue, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (JSStaticValue) PassValue ¶
func (x JSStaticValue) PassValue() (C.JSStaticValue, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*JSStaticValue) Ref ¶
func (x *JSStaticValue) Ref() *C.JSStaticValue
Ref returns the underlying reference to C object or nil if struct is nil.
type JSStaticValueEx ¶
type JSStaticValueEx struct { Name string GetPropertyEx JSObjectGetPropertyCallbackEx SetPropertyEx JSObjectSetPropertyCallbackEx Attributes JSPropertyAttributes // contains filtered or unexported fields }
JSStaticValueEx as declared in JavaScriptCore/JSObjectRef.h:349
func NewJSStaticValueExRef ¶
func NewJSStaticValueExRef(ref unsafe.Pointer) *JSStaticValueEx
NewJSStaticValueExRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*JSStaticValueEx) Deref ¶
func (x *JSStaticValueEx) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*JSStaticValueEx) Free ¶
func (x *JSStaticValueEx) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*JSStaticValueEx) PassRef ¶
func (x *JSStaticValueEx) PassRef() (*C.JSStaticValueEx, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (JSStaticValueEx) PassValue ¶
func (x JSStaticValueEx) PassValue() (C.JSStaticValueEx, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*JSStaticValueEx) Ref ¶
func (x *JSStaticValueEx) Ref() *C.JSStaticValueEx
Ref returns the underlying reference to C object or nil if struct is nil.
type JSStringRef ¶
type JSStringRef C.JSStringRef
JSStringRef as declared in JavaScriptCore/JSBase.h:49
func JSGlobalContextCopyName ¶
func JSGlobalContextCopyName(ctx JSGlobalContextRef) JSStringRef
JSGlobalContextCopyName function as declared in JavaScriptCore/JSContextRef.h:149
func JSPropertyNameArrayGetNameAtIndex ¶
func JSPropertyNameArrayGetNameAtIndex(array JSPropertyNameArrayRef, index uint) JSStringRef
JSPropertyNameArrayGetNameAtIndex function as declared in JavaScriptCore/JSObjectRef.h:807
func JSStringCreateWithCharacters ¶
func JSStringCreateWithCharacters(chars []JSChar, numChars uint) JSStringRef
JSStringCreateWithCharacters function as declared in JavaScriptCore/JSStringRef.h:61
func JSStringCreateWithUTF8CString ¶
func JSStringCreateWithUTF8CString(string string) JSStringRef
JSStringCreateWithUTF8CString function as declared in JavaScriptCore/JSStringRef.h:68
func JSStringRetain ¶
func JSStringRetain(string JSStringRef) JSStringRef
JSStringRetain function as declared in JavaScriptCore/JSStringRef.h:76
func JSValueCreateJSONString ¶
func JSValueCreateJSONString(ctx JSContextRef, value JSValueRef, indent uint32, exception []JSValueRef) JSStringRef
JSValueCreateJSONString function as declared in JavaScriptCore/JSValueRef.h:311
func JSValueToStringCopy ¶
func JSValueToStringCopy(ctx JSContextRef, value JSValueRef, exception []JSValueRef) JSStringRef
JSValueToStringCopy function as declared in JavaScriptCore/JSValueRef.h:342
type JSType ¶
type JSType int32
JSType as declared in JavaScriptCore/JSValueRef.h:55
const ( KJSTypeUndefined JSType = iota KJSTypeNull JSType = 1 KJSTypeBoolean JSType = 2 KJSTypeNumber JSType = 3 KJSTypeString JSType = 4 KJSTypeObject JSType = 5 KJSTypeSymbol JSType = 6 )
JSType enumeration from JavaScriptCore/JSValueRef.h:55
func JSValueGetType ¶
func JSValueGetType(ctx JSContextRef, value JSValueRef) JSType
JSValueGetType function as declared in JavaScriptCore/JSValueRef.h:98
type JSTypedArrayBytesDeallocator ¶
JSTypedArrayBytesDeallocator type as declared in JavaScriptCore/JSBase.h:61
func NewJSTypedArrayBytesDeallocatorRef ¶
func NewJSTypedArrayBytesDeallocatorRef(ref unsafe.Pointer) *JSTypedArrayBytesDeallocator
func (JSTypedArrayBytesDeallocator) PassRef ¶
func (x JSTypedArrayBytesDeallocator) PassRef() (ref *C.JSTypedArrayBytesDeallocator, allocs *cgoAllocMap)
func (JSTypedArrayBytesDeallocator) PassValue ¶
func (x JSTypedArrayBytesDeallocator) PassValue() (ref C.JSTypedArrayBytesDeallocator, allocs *cgoAllocMap)
type JSTypedArrayType ¶
type JSTypedArrayType int32
JSTypedArrayType as declared in JavaScriptCore/JSValueRef.h:85
const ( KJSTypedArrayTypeInt8Array JSTypedArrayType = iota KJSTypedArrayTypeInt16Array JSTypedArrayType = 1 KJSTypedArrayTypeInt32Array JSTypedArrayType = 2 KJSTypedArrayTypeUint8Array JSTypedArrayType = 3 KJSTypedArrayTypeUint8ClampedArray JSTypedArrayType = 4 KJSTypedArrayTypeUint16Array JSTypedArrayType = 5 KJSTypedArrayTypeUint32Array JSTypedArrayType = 6 KJSTypedArrayTypeFloat32Array JSTypedArrayType = 7 KJSTypedArrayTypeFloat64Array JSTypedArrayType = 8 KJSTypedArrayTypeArrayBuffer JSTypedArrayType = 9 KJSTypedArrayTypeNone JSTypedArrayType = 10 )
JSTypedArrayType enumeration from JavaScriptCore/JSValueRef.h:85
func JSValueGetTypedArrayType ¶
func JSValueGetTypedArrayType(ctx JSContextRef, value JSValueRef, exception []JSValueRef) JSTypedArrayType
JSValueGetTypedArrayType function as declared in JavaScriptCore/JSValueRef.h:200
type JSValueRef ¶
type JSValueRef C.JSValueRef
JSValueRef as declared in JavaScriptCore/JSBase.h:66
func JSEvaluateScript ¶
func JSEvaluateScript(ctx JSContextRef, script JSStringRef, thisObject JSObjectRef, sourceURL JSStringRef, startingLineNumber int32, exception []JSValueRef) JSValueRef
JSEvaluateScript function as declared in JavaScriptCore/JSBase.h:113
func JSObjectCallAsFunction ¶
func JSObjectCallAsFunction(ctx JSContextRef, object JSObjectRef, thisObject JSObjectRef, argumentCount uint, arguments []JSValueRef, exception []JSValueRef) JSValueRef
JSObjectCallAsFunction function as declared in JavaScriptCore/JSObjectRef.h:745
func JSObjectGetProperty ¶
func JSObjectGetProperty(ctx JSContextRef, object JSObjectRef, propertyName JSStringRef, exception []JSValueRef) JSValueRef
JSObjectGetProperty function as declared in JavaScriptCore/JSObjectRef.h:627
func JSObjectGetPropertyAtIndex ¶
func JSObjectGetPropertyAtIndex(ctx JSContextRef, object JSObjectRef, propertyIndex uint32, exception []JSValueRef) JSValueRef
JSObjectGetPropertyAtIndex function as declared in JavaScriptCore/JSObjectRef.h:710
func JSObjectGetPropertyForKey ¶
func JSObjectGetPropertyForKey(ctx JSContextRef, object JSObjectRef, propertyKey JSValueRef, exception []JSValueRef) JSValueRef
JSObjectGetPropertyForKey function as declared in JavaScriptCore/JSObjectRef.h:673
func JSObjectGetPrototype ¶
func JSObjectGetPrototype(ctx JSContextRef, object JSObjectRef) JSValueRef
JSObjectGetPrototype function as declared in JavaScriptCore/JSObjectRef.h:598
func JSValueMakeBoolean ¶
func JSValueMakeBoolean(ctx JSContextRef, boolean bool) JSValueRef
JSValueMakeBoolean function as declared in JavaScriptCore/JSValueRef.h:261
func JSValueMakeFromJSONString ¶
func JSValueMakeFromJSONString(ctx JSContextRef, string JSStringRef) JSValueRef
JSValueMakeFromJSONString function as declared in JavaScriptCore/JSValueRef.h:300
func JSValueMakeNull ¶
func JSValueMakeNull(ctx JSContextRef) JSValueRef
JSValueMakeNull function as declared in JavaScriptCore/JSValueRef.h:252
func JSValueMakeNumber ¶
func JSValueMakeNumber(ctx JSContextRef, number float64) JSValueRef
JSValueMakeNumber function as declared in JavaScriptCore/JSValueRef.h:270
func JSValueMakeString ¶
func JSValueMakeString(ctx JSContextRef, string JSStringRef) JSValueRef
JSValueMakeString function as declared in JavaScriptCore/JSValueRef.h:280
func JSValueMakeSymbol ¶
func JSValueMakeSymbol(ctx JSContextRef, description JSStringRef) JSValueRef
JSValueMakeSymbol function as declared in JavaScriptCore/JSValueRef.h:289
func JSValueMakeUndefined ¶
func JSValueMakeUndefined(ctx JSContextRef) JSValueRef
JSValueMakeUndefined function as declared in JavaScriptCore/JSValueRef.h:244
type ULAddConsoleMessageCallback ¶
type ULAddConsoleMessageCallback func(user_data unsafe.Pointer, caller ULView, source ULMessageSource, level ULMessageLevel, message ULString, line_number uint32, column_number uint32, source_id ULString)
ULAddConsoleMessageCallback type as declared in Ultralight/CAPI.h:797
func NewULAddConsoleMessageCallbackRef ¶
func NewULAddConsoleMessageCallbackRef(ref unsafe.Pointer) *ULAddConsoleMessageCallback
func (ULAddConsoleMessageCallback) PassRef ¶
func (x ULAddConsoleMessageCallback) PassRef() (ref *C.ULAddConsoleMessageCallback, allocs *cgoAllocMap)
func (ULAddConsoleMessageCallback) PassValue ¶
func (x ULAddConsoleMessageCallback) PassValue() (ref C.ULAddConsoleMessageCallback, allocs *cgoAllocMap)
type ULApp ¶
ULApp as declared in AppCore/CAPI.h:34
func UlCreateApp ¶
func UlCreateApp(settings ULSettings, config ULConfig) ULApp
UlCreateApp function as declared in AppCore/CAPI.h:125
type ULBeginLoadingCallback ¶
type ULBeginLoadingCallback func(user_data unsafe.Pointer, caller ULView, frame_id uint64, is_main_frame bool, url ULString)
ULBeginLoadingCallback type as declared in Ultralight/CAPI.h:833
func NewULBeginLoadingCallbackRef ¶
func NewULBeginLoadingCallbackRef(ref unsafe.Pointer) *ULBeginLoadingCallback
func (ULBeginLoadingCallback) PassRef ¶
func (x ULBeginLoadingCallback) PassRef() (ref *C.ULBeginLoadingCallback, allocs *cgoAllocMap)
func (ULBeginLoadingCallback) PassValue ¶
func (x ULBeginLoadingCallback) PassValue() (ref C.ULBeginLoadingCallback, allocs *cgoAllocMap)
type ULBitmap ¶
ULBitmap as declared in Ultralight/CAPI.h:54
func UlBitmapSurfaceGetBitmap ¶
func UlBitmapSurfaceGetBitmap(surface ULBitmapSurface) ULBitmap
UlBitmapSurfaceGetBitmap function as declared in Ultralight/CAPI.h:1281
func UlCreateBitmap ¶
func UlCreateBitmap(width uint32, height uint32, format ULBitmapFormat) ULBitmap
UlCreateBitmap function as declared in Ultralight/CAPI.h:1003
func UlCreateBitmapFromCopy ¶
UlCreateBitmapFromCopy function as declared in Ultralight/CAPI.h:1020
func UlCreateBitmapFromPixels ¶
func UlCreateBitmapFromPixels(width uint32, height uint32, format ULBitmapFormat, row_bytes uint32, pixels unsafe.Pointer, size uint, should_copy bool) ULBitmap
UlCreateBitmapFromPixels function as declared in Ultralight/CAPI.h:1010
func UlCreateEmptyBitmap ¶
func UlCreateEmptyBitmap() ULBitmap
UlCreateEmptyBitmap function as declared in Ultralight/CAPI.h:998
type ULBitmapFormat ¶
type ULBitmapFormat int32
ULBitmapFormat as declared in Ultralight/CAPI.h:150
const ( KBitmapFormat_A8_UNORM ULBitmapFormat = iota KBitmapFormat_BGRA8_UNORM_SRGB ULBitmapFormat = 1 )
ULBitmapFormat enumeration from Ultralight/CAPI.h:150
func UlBitmapGetFormat ¶
func UlBitmapGetFormat(bitmap ULBitmap) ULBitmapFormat
UlBitmapGetFormat function as declared in Ultralight/CAPI.h:1041
type ULBitmapSurface ¶
type ULBitmapSurface C.ULBitmapSurface
ULBitmapSurface as declared in Ultralight/CAPI.h:61
type ULChangeCursorCallback ¶
ULChangeCursorCallback type as declared in Ultralight/CAPI.h:787
func NewULChangeCursorCallbackRef ¶
func NewULChangeCursorCallbackRef(ref unsafe.Pointer) *ULChangeCursorCallback
func (ULChangeCursorCallback) PassRef ¶
func (x ULChangeCursorCallback) PassRef() (ref *C.ULChangeCursorCallback, allocs *cgoAllocMap)
func (ULChangeCursorCallback) PassValue ¶
func (x ULChangeCursorCallback) PassValue() (ref C.ULChangeCursorCallback, allocs *cgoAllocMap)
type ULChangeTitleCallback ¶
ULChangeTitleCallback type as declared in Ultralight/CAPI.h:757
func NewULChangeTitleCallbackRef ¶
func NewULChangeTitleCallbackRef(ref unsafe.Pointer) *ULChangeTitleCallback
func (ULChangeTitleCallback) PassRef ¶
func (x ULChangeTitleCallback) PassRef() (ref *C.ULChangeTitleCallback, allocs *cgoAllocMap)
func (ULChangeTitleCallback) PassValue ¶
func (x ULChangeTitleCallback) PassValue() (ref C.ULChangeTitleCallback, allocs *cgoAllocMap)
type ULChangeTooltipCallback ¶
ULChangeTooltipCallback type as declared in Ultralight/CAPI.h:777
func NewULChangeTooltipCallbackRef ¶
func NewULChangeTooltipCallbackRef(ref unsafe.Pointer) *ULChangeTooltipCallback
func (ULChangeTooltipCallback) PassRef ¶
func (x ULChangeTooltipCallback) PassRef() (ref *C.ULChangeTooltipCallback, allocs *cgoAllocMap)
func (ULChangeTooltipCallback) PassValue ¶
func (x ULChangeTooltipCallback) PassValue() (ref C.ULChangeTooltipCallback, allocs *cgoAllocMap)
type ULChangeURLCallback ¶
ULChangeURLCallback type as declared in Ultralight/CAPI.h:767
func NewULChangeURLCallbackRef ¶
func NewULChangeURLCallbackRef(ref unsafe.Pointer) *ULChangeURLCallback
func (ULChangeURLCallback) PassRef ¶
func (x ULChangeURLCallback) PassRef() (ref *C.ULChangeURLCallback, allocs *cgoAllocMap)
func (ULChangeURLCallback) PassValue ¶
func (x ULChangeURLCallback) PassValue() (ref C.ULChangeURLCallback, allocs *cgoAllocMap)
type ULChar16 ¶
type ULChar16 uint16
ULChar16 type as declared in Ultralight/CAPI.h:43
func UlStringGetData ¶
UlStringGetData function as declared in Ultralight/CAPI.h:969
type ULClipboard ¶
type ULClipboard struct { Clear ULClipboardClearCallback Read_plain_text ULClipboardReadPlainTextCallback Write_plain_text ULClipboardWritePlainTextCallback // contains filtered or unexported fields }
ULClipboard as declared in Ultralight/CAPI.h:1833
func NewULClipboardRef ¶
func NewULClipboardRef(ref unsafe.Pointer) *ULClipboard
NewULClipboardRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*ULClipboard) Deref ¶
func (x *ULClipboard) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULClipboard) Free ¶
func (x *ULClipboard) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULClipboard) PassRef ¶
func (x *ULClipboard) PassRef() (*C.ULClipboard, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (ULClipboard) PassValue ¶
func (x ULClipboard) PassValue() (C.ULClipboard, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*ULClipboard) Ref ¶
func (x *ULClipboard) Ref() *C.ULClipboard
Ref returns the underlying reference to C object or nil if struct is nil.
type ULClipboardClearCallback ¶
type ULClipboardClearCallback func()
ULClipboardClearCallback type as declared in Ultralight/CAPI.h:1811
func NewULClipboardClearCallbackRef ¶
func NewULClipboardClearCallbackRef(ref unsafe.Pointer) *ULClipboardClearCallback
func (ULClipboardClearCallback) PassRef ¶
func (x ULClipboardClearCallback) PassRef() (ref *C.ULClipboardClearCallback, allocs *cgoAllocMap)
func (ULClipboardClearCallback) PassValue ¶
func (x ULClipboardClearCallback) PassValue() (ref C.ULClipboardClearCallback, allocs *cgoAllocMap)
type ULClipboardReadPlainTextCallback ¶
type ULClipboardReadPlainTextCallback func(result ULString)
ULClipboardReadPlainTextCallback type as declared in Ultralight/CAPI.h:1820
func NewULClipboardReadPlainTextCallbackRef ¶
func NewULClipboardReadPlainTextCallbackRef(ref unsafe.Pointer) *ULClipboardReadPlainTextCallback
func (ULClipboardReadPlainTextCallback) PassRef ¶
func (x ULClipboardReadPlainTextCallback) PassRef() (ref *C.ULClipboardReadPlainTextCallback, allocs *cgoAllocMap)
func (ULClipboardReadPlainTextCallback) PassValue ¶
func (x ULClipboardReadPlainTextCallback) PassValue() (ref C.ULClipboardReadPlainTextCallback, allocs *cgoAllocMap)
type ULClipboardWritePlainTextCallback ¶
type ULClipboardWritePlainTextCallback func(text ULString)
ULClipboardWritePlainTextCallback type as declared in Ultralight/CAPI.h:1827
func NewULClipboardWritePlainTextCallbackRef ¶
func NewULClipboardWritePlainTextCallbackRef(ref unsafe.Pointer) *ULClipboardWritePlainTextCallback
func (ULClipboardWritePlainTextCallback) PassRef ¶
func (x ULClipboardWritePlainTextCallback) PassRef() (ref *C.ULClipboardWritePlainTextCallback, allocs *cgoAllocMap)
func (ULClipboardWritePlainTextCallback) PassValue ¶
func (x ULClipboardWritePlainTextCallback) PassValue() (ref C.ULClipboardWritePlainTextCallback, allocs *cgoAllocMap)
type ULCloseCallback ¶
ULCloseCallback type as declared in AppCore/CAPI.h:225
func NewULCloseCallbackRef ¶
func NewULCloseCallbackRef(ref unsafe.Pointer) *ULCloseCallback
func (ULCloseCallback) PassRef ¶
func (x ULCloseCallback) PassRef() (ref *C.ULCloseCallback, allocs *cgoAllocMap)
func (ULCloseCallback) PassValue ¶
func (x ULCloseCallback) PassValue() (ref C.ULCloseCallback, allocs *cgoAllocMap)
type ULCommand ¶
type ULCommand struct { Command_type byte Gpu_state ULGPUState Geometry_id uint32 Indices_count uint32 Indices_offset uint32 // contains filtered or unexported fields }
ULCommand as declared in Ultralight/CAPI.h:1654
func NewULCommandRef ¶
NewULCommandRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*ULCommand) Deref ¶
func (x *ULCommand) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULCommand) Free ¶
func (x *ULCommand) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULCommand) PassRef ¶
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
type ULCommandList ¶
type ULCommandList struct { Size uint32 Commands []ULCommand // contains filtered or unexported fields }
ULCommandList as declared in Ultralight/CAPI.h:1661
func NewULCommandListRef ¶
func NewULCommandListRef(ref unsafe.Pointer) *ULCommandList
NewULCommandListRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*ULCommandList) Deref ¶
func (x *ULCommandList) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULCommandList) Free ¶
func (x *ULCommandList) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULCommandList) PassRef ¶
func (x *ULCommandList) PassRef() (*C.ULCommandList, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (ULCommandList) PassValue ¶
func (x ULCommandList) PassValue() (C.ULCommandList, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*ULCommandList) Ref ¶
func (x *ULCommandList) Ref() *C.ULCommandList
Ref returns the underlying reference to C object or nil if struct is nil.
type ULCommandType ¶
type ULCommandType int32
ULCommandType as declared in Ultralight/CAPI.h:1641
const ( KCommandType_ClearRenderBuffer ULCommandType = iota KCommandType_DrawGeometry ULCommandType = 1 )
ULCommandType enumeration from Ultralight/CAPI.h:1641
type ULConfig ¶
ULConfig as declared in Ultralight/CAPI.h:50
func UlCreateConfig ¶
func UlCreateConfig() ULConfig
UlCreateConfig function as declared in Ultralight/CAPI.h:292
type ULCreateChildViewCallback ¶
type ULCreateChildViewCallback func(user_data unsafe.Pointer, caller ULView, opener_url ULString, target_url ULString, is_popup bool, popup_rect ULIntRect) ULView
ULCreateChildViewCallback type as declared in Ultralight/CAPI.h:812
func NewULCreateChildViewCallbackRef ¶
func NewULCreateChildViewCallbackRef(ref unsafe.Pointer) *ULCreateChildViewCallback
func (ULCreateChildViewCallback) PassRef ¶
func (x ULCreateChildViewCallback) PassRef() (ref *C.ULCreateChildViewCallback, allocs *cgoAllocMap)
func (ULCreateChildViewCallback) PassValue ¶
func (x ULCreateChildViewCallback) PassValue() (ref C.ULCreateChildViewCallback, allocs *cgoAllocMap)
type ULCursor ¶
type ULCursor int32
ULCursor as declared in Ultralight/CAPI.h:130
const ( KCursor_Pointer ULCursor = iota KCursor_Cross ULCursor = 1 KCursor_Hand ULCursor = 2 KCursor_IBeam ULCursor = 3 KCursor_Wait ULCursor = 4 KCursor_Help ULCursor = 5 KCursor_EastResize ULCursor = 6 KCursor_NorthResize ULCursor = 7 KCursor_NorthEastResize ULCursor = 8 KCursor_NorthWestResize ULCursor = 9 KCursor_SouthResize ULCursor = 10 KCursor_SouthEastResize ULCursor = 11 KCursor_SouthWestResize ULCursor = 12 KCursor_WestResize ULCursor = 13 KCursor_NorthSouthResize ULCursor = 14 KCursor_EastWestResize ULCursor = 15 KCursor_NorthEastSouthWestResize ULCursor = 16 KCursor_NorthWestSouthEastResize ULCursor = 17 KCursor_ColumnResize ULCursor = 18 KCursor_RowResize ULCursor = 19 KCursor_MiddlePanning ULCursor = 20 KCursor_EastPanning ULCursor = 21 KCursor_NorthPanning ULCursor = 22 KCursor_NorthEastPanning ULCursor = 23 KCursor_NorthWestPanning ULCursor = 24 KCursor_SouthPanning ULCursor = 25 KCursor_SouthEastPanning ULCursor = 26 KCursor_SouthWestPanning ULCursor = 27 KCursor_WestPanning ULCursor = 28 KCursor_Move ULCursor = 29 KCursor_VerticalText ULCursor = 30 KCursor_Cell ULCursor = 31 KCursor_ContextMenu ULCursor = 32 KCursor_Alias ULCursor = 33 KCursor_Progress ULCursor = 34 KCursor_NoDrop ULCursor = 35 KCursor_Copy ULCursor = 36 KCursor_None ULCursor = 37 KCursor_NotAllowed ULCursor = 38 KCursor_ZoomIn ULCursor = 39 KCursor_ZoomOut ULCursor = 40 KCursor_Grab ULCursor = 41 KCursor_Grabbing ULCursor = 42 KCursor_Custom ULCursor = 43 )
ULCursor enumeration from Ultralight/CAPI.h:130
type ULDOMReadyCallback ¶
type ULDOMReadyCallback func(user_data unsafe.Pointer, caller ULView, frame_id uint64, is_main_frame bool, url ULString)
ULDOMReadyCallback type as declared in Ultralight/CAPI.h:889
func NewULDOMReadyCallbackRef ¶
func NewULDOMReadyCallbackRef(ref unsafe.Pointer) *ULDOMReadyCallback
func (ULDOMReadyCallback) PassRef ¶
func (x ULDOMReadyCallback) PassRef() (ref *C.ULDOMReadyCallback, allocs *cgoAllocMap)
func (ULDOMReadyCallback) PassValue ¶
func (x ULDOMReadyCallback) PassValue() (ref C.ULDOMReadyCallback, allocs *cgoAllocMap)
type ULFaceWinding ¶
type ULFaceWinding int32
ULFaceWinding as declared in Ultralight/CAPI.h:203
const ( KFaceWinding_Clockwise ULFaceWinding = iota KFaceWindow_CounterClockwise ULFaceWinding = 1 )
ULFaceWinding enumeration from Ultralight/CAPI.h:203
type ULFailLoadingCallback ¶
type ULFailLoadingCallback func(user_data unsafe.Pointer, caller ULView, frame_id uint64, is_main_frame bool, url ULString, description ULString, error_domain ULString, error_code int32)
ULFailLoadingCallback type as declared in Ultralight/CAPI.h:855
func NewULFailLoadingCallbackRef ¶
func NewULFailLoadingCallbackRef(ref unsafe.Pointer) *ULFailLoadingCallback
func (ULFailLoadingCallback) PassRef ¶
func (x ULFailLoadingCallback) PassRef() (ref *C.ULFailLoadingCallback, allocs *cgoAllocMap)
func (ULFailLoadingCallback) PassValue ¶
func (x ULFailLoadingCallback) PassValue() (ref C.ULFailLoadingCallback, allocs *cgoAllocMap)
type ULFileSystem ¶
type ULFileSystem struct { File_exists ULFileSystemFileExistsCallback Get_file_size ULFileSystemGetFileSizeCallback Get_file_mime_type ULFileSystemGetFileMimeTypeCallback Open_file ULFileSystemOpenFileCallback Close_file ULFileSystemCloseFileCallback Read_from_file ULFileSystemReadFromFileCallback // contains filtered or unexported fields }
ULFileSystem as declared in Ultralight/CAPI.h:1448
func NewULFileSystemRef ¶
func NewULFileSystemRef(ref unsafe.Pointer) *ULFileSystem
NewULFileSystemRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*ULFileSystem) Deref ¶
func (x *ULFileSystem) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULFileSystem) Free ¶
func (x *ULFileSystem) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULFileSystem) PassRef ¶
func (x *ULFileSystem) PassRef() (*C.ULFileSystem, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (ULFileSystem) PassValue ¶
func (x ULFileSystem) PassValue() (C.ULFileSystem, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*ULFileSystem) Ref ¶
func (x *ULFileSystem) Ref() *C.ULFileSystem
Ref returns the underlying reference to C object or nil if struct is nil.
type ULFileSystemCloseFileCallback ¶
type ULFileSystemCloseFileCallback func(handle ULFileHandle)
ULFileSystemCloseFileCallback type as declared in Ultralight/CAPI.h:1432
func NewULFileSystemCloseFileCallbackRef ¶
func NewULFileSystemCloseFileCallbackRef(ref unsafe.Pointer) *ULFileSystemCloseFileCallback
func (ULFileSystemCloseFileCallback) PassRef ¶
func (x ULFileSystemCloseFileCallback) PassRef() (ref *C.ULFileSystemCloseFileCallback, allocs *cgoAllocMap)
func (ULFileSystemCloseFileCallback) PassValue ¶
func (x ULFileSystemCloseFileCallback) PassValue() (ref C.ULFileSystemCloseFileCallback, allocs *cgoAllocMap)
type ULFileSystemFileExistsCallback ¶
ULFileSystemFileExistsCallback type as declared in Ultralight/CAPI.h:1401
func NewULFileSystemFileExistsCallbackRef ¶
func NewULFileSystemFileExistsCallbackRef(ref unsafe.Pointer) *ULFileSystemFileExistsCallback
func (ULFileSystemFileExistsCallback) PassRef ¶
func (x ULFileSystemFileExistsCallback) PassRef() (ref *C.ULFileSystemFileExistsCallback, allocs *cgoAllocMap)
func (ULFileSystemFileExistsCallback) PassValue ¶
func (x ULFileSystemFileExistsCallback) PassValue() (ref C.ULFileSystemFileExistsCallback, allocs *cgoAllocMap)
type ULFileSystemGetFileMimeTypeCallback ¶
ULFileSystemGetFileMimeTypeCallback type as declared in Ultralight/CAPI.h:1415
func NewULFileSystemGetFileMimeTypeCallbackRef ¶
func NewULFileSystemGetFileMimeTypeCallbackRef(ref unsafe.Pointer) *ULFileSystemGetFileMimeTypeCallback
func (ULFileSystemGetFileMimeTypeCallback) PassRef ¶
func (x ULFileSystemGetFileMimeTypeCallback) PassRef() (ref *C.ULFileSystemGetFileMimeTypeCallback, allocs *cgoAllocMap)
func (ULFileSystemGetFileMimeTypeCallback) PassValue ¶
func (x ULFileSystemGetFileMimeTypeCallback) PassValue() (ref C.ULFileSystemGetFileMimeTypeCallback, allocs *cgoAllocMap)
type ULFileSystemGetFileSizeCallback ¶
type ULFileSystemGetFileSizeCallback func(handle ULFileHandle, result []int64) bool
ULFileSystemGetFileSizeCallback type as declared in Ultralight/CAPI.h:1408
func NewULFileSystemGetFileSizeCallbackRef ¶
func NewULFileSystemGetFileSizeCallbackRef(ref unsafe.Pointer) *ULFileSystemGetFileSizeCallback
func (ULFileSystemGetFileSizeCallback) PassRef ¶
func (x ULFileSystemGetFileSizeCallback) PassRef() (ref *C.ULFileSystemGetFileSizeCallback, allocs *cgoAllocMap)
func (ULFileSystemGetFileSizeCallback) PassValue ¶
func (x ULFileSystemGetFileSizeCallback) PassValue() (ref C.ULFileSystemGetFileSizeCallback, allocs *cgoAllocMap)
type ULFileSystemOpenFileCallback ¶
type ULFileSystemOpenFileCallback func(path ULString, open_for_writing bool) ULFileHandle
ULFileSystemOpenFileCallback type as declared in Ultralight/CAPI.h:1425
func NewULFileSystemOpenFileCallbackRef ¶
func NewULFileSystemOpenFileCallbackRef(ref unsafe.Pointer) *ULFileSystemOpenFileCallback
func (ULFileSystemOpenFileCallback) PassRef ¶
func (x ULFileSystemOpenFileCallback) PassRef() (ref *C.ULFileSystemOpenFileCallback, allocs *cgoAllocMap)
func (ULFileSystemOpenFileCallback) PassValue ¶
func (x ULFileSystemOpenFileCallback) PassValue() (ref C.ULFileSystemOpenFileCallback, allocs *cgoAllocMap)
type ULFileSystemReadFromFileCallback ¶
type ULFileSystemReadFromFileCallback func(handle ULFileHandle, data []byte, length int64) int64
ULFileSystemReadFromFileCallback type as declared in Ultralight/CAPI.h:1439
func NewULFileSystemReadFromFileCallbackRef ¶
func NewULFileSystemReadFromFileCallbackRef(ref unsafe.Pointer) *ULFileSystemReadFromFileCallback
func (ULFileSystemReadFromFileCallback) PassRef ¶
func (x ULFileSystemReadFromFileCallback) PassRef() (ref *C.ULFileSystemReadFromFileCallback, allocs *cgoAllocMap)
func (ULFileSystemReadFromFileCallback) PassValue ¶
func (x ULFileSystemReadFromFileCallback) PassValue() (ref C.ULFileSystemReadFromFileCallback, allocs *cgoAllocMap)
type ULFinishLoadingCallback ¶
type ULFinishLoadingCallback func(user_data unsafe.Pointer, caller ULView, frame_id uint64, is_main_frame bool, url ULString)
ULFinishLoadingCallback type as declared in Ultralight/CAPI.h:844
func NewULFinishLoadingCallbackRef ¶
func NewULFinishLoadingCallbackRef(ref unsafe.Pointer) *ULFinishLoadingCallback
func (ULFinishLoadingCallback) PassRef ¶
func (x ULFinishLoadingCallback) PassRef() (ref *C.ULFinishLoadingCallback, allocs *cgoAllocMap)
func (ULFinishLoadingCallback) PassValue ¶
func (x ULFinishLoadingCallback) PassValue() (ref C.ULFinishLoadingCallback, allocs *cgoAllocMap)
type ULFontHinting ¶
type ULFontHinting int32
ULFontHinting as declared in Ultralight/CAPI.h:225
const ( KFontHinting_Smooth ULFontHinting = iota KFontHinting_Normal ULFontHinting = 1 KFontHinting_Monochrome ULFontHinting = 2 )
ULFontHinting enumeration from Ultralight/CAPI.h:225
type ULGPUDriver ¶
type ULGPUDriver struct { Begin_synchronize ULGPUDriverBeginSynchronizeCallback End_synchronize ULGPUDriverEndSynchronizeCallback Next_texture_id ULGPUDriverNextTextureIdCallback Create_texture ULGPUDriverCreateTextureCallback Update_texture ULGPUDriverUpdateTextureCallback Destroy_texture ULGPUDriverDestroyTextureCallback Next_render_buffer_id ULGPUDriverNextRenderBufferIdCallback Create_render_buffer ULGPUDriverCreateRenderBufferCallback Destroy_render_buffer ULGPUDriverDestroyRenderBufferCallback Next_geometry_id ULGPUDriverNextGeometryIdCallback Create_geometry ULGPUDriverCreateGeometryCallback Update_geometry ULGPUDriverUpdateGeometryCallback Destroy_geometry ULGPUDriverDestroyGeometryCallback Update_command_list ULGPUDriverUpdateCommandListCallback // contains filtered or unexported fields }
ULGPUDriver as declared in Ultralight/CAPI.h:1785
func NewULGPUDriverRef ¶
func NewULGPUDriverRef(ref unsafe.Pointer) *ULGPUDriver
NewULGPUDriverRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*ULGPUDriver) Deref ¶
func (x *ULGPUDriver) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULGPUDriver) Free ¶
func (x *ULGPUDriver) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULGPUDriver) PassRef ¶
func (x *ULGPUDriver) PassRef() (*C.ULGPUDriver, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (ULGPUDriver) PassValue ¶
func (x ULGPUDriver) PassValue() (C.ULGPUDriver, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*ULGPUDriver) Ref ¶
func (x *ULGPUDriver) Ref() *C.ULGPUDriver
Ref returns the underlying reference to C object or nil if struct is nil.
type ULGPUDriverBeginSynchronizeCallback ¶
type ULGPUDriverBeginSynchronizeCallback func()
ULGPUDriverBeginSynchronizeCallback type as declared in Ultralight/CAPI.h:1669
func NewULGPUDriverBeginSynchronizeCallbackRef ¶
func NewULGPUDriverBeginSynchronizeCallbackRef(ref unsafe.Pointer) *ULGPUDriverBeginSynchronizeCallback
func (ULGPUDriverBeginSynchronizeCallback) PassRef ¶
func (x ULGPUDriverBeginSynchronizeCallback) PassRef() (ref *C.ULGPUDriverBeginSynchronizeCallback, allocs *cgoAllocMap)
func (ULGPUDriverBeginSynchronizeCallback) PassValue ¶
func (x ULGPUDriverBeginSynchronizeCallback) PassValue() (ref C.ULGPUDriverBeginSynchronizeCallback, allocs *cgoAllocMap)
type ULGPUDriverCreateGeometryCallback ¶
type ULGPUDriverCreateGeometryCallback func(geometry_id uint32, vertices ULVertexBuffer, indices ULIndexBuffer)
ULGPUDriverCreateGeometryCallback type as declared in Ultralight/CAPI.h:1744
func NewULGPUDriverCreateGeometryCallbackRef ¶
func NewULGPUDriverCreateGeometryCallbackRef(ref unsafe.Pointer) *ULGPUDriverCreateGeometryCallback
func (ULGPUDriverCreateGeometryCallback) PassRef ¶
func (x ULGPUDriverCreateGeometryCallback) PassRef() (ref *C.ULGPUDriverCreateGeometryCallback, allocs *cgoAllocMap)
func (ULGPUDriverCreateGeometryCallback) PassValue ¶
func (x ULGPUDriverCreateGeometryCallback) PassValue() (ref C.ULGPUDriverCreateGeometryCallback, allocs *cgoAllocMap)
type ULGPUDriverCreateRenderBufferCallback ¶
type ULGPUDriverCreateRenderBufferCallback func(render_buffer_id uint32, buffer ULRenderBuffer)
ULGPUDriverCreateRenderBufferCallback type as declared in Ultralight/CAPI.h:1723
func NewULGPUDriverCreateRenderBufferCallbackRef ¶
func NewULGPUDriverCreateRenderBufferCallbackRef(ref unsafe.Pointer) *ULGPUDriverCreateRenderBufferCallback
func (ULGPUDriverCreateRenderBufferCallback) PassRef ¶
func (x ULGPUDriverCreateRenderBufferCallback) PassRef() (ref *C.ULGPUDriverCreateRenderBufferCallback, allocs *cgoAllocMap)
func (ULGPUDriverCreateRenderBufferCallback) PassValue ¶
func (x ULGPUDriverCreateRenderBufferCallback) PassValue() (ref C.ULGPUDriverCreateRenderBufferCallback, allocs *cgoAllocMap)
type ULGPUDriverCreateTextureCallback ¶
ULGPUDriverCreateTextureCallback type as declared in Ultralight/CAPI.h:1694
func NewULGPUDriverCreateTextureCallbackRef ¶
func NewULGPUDriverCreateTextureCallbackRef(ref unsafe.Pointer) *ULGPUDriverCreateTextureCallback
func (ULGPUDriverCreateTextureCallback) PassRef ¶
func (x ULGPUDriverCreateTextureCallback) PassRef() (ref *C.ULGPUDriverCreateTextureCallback, allocs *cgoAllocMap)
func (ULGPUDriverCreateTextureCallback) PassValue ¶
func (x ULGPUDriverCreateTextureCallback) PassValue() (ref C.ULGPUDriverCreateTextureCallback, allocs *cgoAllocMap)
type ULGPUDriverDestroyGeometryCallback ¶
type ULGPUDriverDestroyGeometryCallback func(geometry_id uint32)
ULGPUDriverDestroyGeometryCallback type as declared in Ultralight/CAPI.h:1761
func NewULGPUDriverDestroyGeometryCallbackRef ¶
func NewULGPUDriverDestroyGeometryCallbackRef(ref unsafe.Pointer) *ULGPUDriverDestroyGeometryCallback
func (ULGPUDriverDestroyGeometryCallback) PassRef ¶
func (x ULGPUDriverDestroyGeometryCallback) PassRef() (ref *C.ULGPUDriverDestroyGeometryCallback, allocs *cgoAllocMap)
func (ULGPUDriverDestroyGeometryCallback) PassValue ¶
func (x ULGPUDriverDestroyGeometryCallback) PassValue() (ref C.ULGPUDriverDestroyGeometryCallback, allocs *cgoAllocMap)
type ULGPUDriverDestroyRenderBufferCallback ¶
type ULGPUDriverDestroyRenderBufferCallback func(render_buffer_id uint32)
ULGPUDriverDestroyRenderBufferCallback type as declared in Ultralight/CAPI.h:1730
func NewULGPUDriverDestroyRenderBufferCallbackRef ¶
func NewULGPUDriverDestroyRenderBufferCallbackRef(ref unsafe.Pointer) *ULGPUDriverDestroyRenderBufferCallback
func (ULGPUDriverDestroyRenderBufferCallback) PassRef ¶
func (x ULGPUDriverDestroyRenderBufferCallback) PassRef() (ref *C.ULGPUDriverDestroyRenderBufferCallback, allocs *cgoAllocMap)
func (ULGPUDriverDestroyRenderBufferCallback) PassValue ¶
func (x ULGPUDriverDestroyRenderBufferCallback) PassValue() (ref C.ULGPUDriverDestroyRenderBufferCallback, allocs *cgoAllocMap)
type ULGPUDriverDestroyTextureCallback ¶
type ULGPUDriverDestroyTextureCallback func(texture_id uint32)
ULGPUDriverDestroyTextureCallback type as declared in Ultralight/CAPI.h:1709
func NewULGPUDriverDestroyTextureCallbackRef ¶
func NewULGPUDriverDestroyTextureCallbackRef(ref unsafe.Pointer) *ULGPUDriverDestroyTextureCallback
func (ULGPUDriverDestroyTextureCallback) PassRef ¶
func (x ULGPUDriverDestroyTextureCallback) PassRef() (ref *C.ULGPUDriverDestroyTextureCallback, allocs *cgoAllocMap)
func (ULGPUDriverDestroyTextureCallback) PassValue ¶
func (x ULGPUDriverDestroyTextureCallback) PassValue() (ref C.ULGPUDriverDestroyTextureCallback, allocs *cgoAllocMap)
type ULGPUDriverEndSynchronizeCallback ¶
type ULGPUDriverEndSynchronizeCallback func()
ULGPUDriverEndSynchronizeCallback type as declared in Ultralight/CAPI.h:1676
func NewULGPUDriverEndSynchronizeCallbackRef ¶
func NewULGPUDriverEndSynchronizeCallbackRef(ref unsafe.Pointer) *ULGPUDriverEndSynchronizeCallback
func (ULGPUDriverEndSynchronizeCallback) PassRef ¶
func (x ULGPUDriverEndSynchronizeCallback) PassRef() (ref *C.ULGPUDriverEndSynchronizeCallback, allocs *cgoAllocMap)
func (ULGPUDriverEndSynchronizeCallback) PassValue ¶
func (x ULGPUDriverEndSynchronizeCallback) PassValue() (ref C.ULGPUDriverEndSynchronizeCallback, allocs *cgoAllocMap)
type ULGPUDriverNextGeometryIdCallback ¶
type ULGPUDriverNextGeometryIdCallback func() uint32
ULGPUDriverNextGeometryIdCallback type as declared in Ultralight/CAPI.h:1737
func NewULGPUDriverNextGeometryIdCallbackRef ¶
func NewULGPUDriverNextGeometryIdCallbackRef(ref unsafe.Pointer) *ULGPUDriverNextGeometryIdCallback
func (ULGPUDriverNextGeometryIdCallback) PassRef ¶
func (x ULGPUDriverNextGeometryIdCallback) PassRef() (ref *C.ULGPUDriverNextGeometryIdCallback, allocs *cgoAllocMap)
func (ULGPUDriverNextGeometryIdCallback) PassValue ¶
func (x ULGPUDriverNextGeometryIdCallback) PassValue() (ref C.ULGPUDriverNextGeometryIdCallback, allocs *cgoAllocMap)
type ULGPUDriverNextRenderBufferIdCallback ¶
type ULGPUDriverNextRenderBufferIdCallback func() uint32
ULGPUDriverNextRenderBufferIdCallback type as declared in Ultralight/CAPI.h:1716
func NewULGPUDriverNextRenderBufferIdCallbackRef ¶
func NewULGPUDriverNextRenderBufferIdCallbackRef(ref unsafe.Pointer) *ULGPUDriverNextRenderBufferIdCallback
func (ULGPUDriverNextRenderBufferIdCallback) PassRef ¶
func (x ULGPUDriverNextRenderBufferIdCallback) PassRef() (ref *C.ULGPUDriverNextRenderBufferIdCallback, allocs *cgoAllocMap)
func (ULGPUDriverNextRenderBufferIdCallback) PassValue ¶
func (x ULGPUDriverNextRenderBufferIdCallback) PassValue() (ref C.ULGPUDriverNextRenderBufferIdCallback, allocs *cgoAllocMap)
type ULGPUDriverNextTextureIdCallback ¶
type ULGPUDriverNextTextureIdCallback func() uint32
ULGPUDriverNextTextureIdCallback type as declared in Ultralight/CAPI.h:1683
func NewULGPUDriverNextTextureIdCallbackRef ¶
func NewULGPUDriverNextTextureIdCallbackRef(ref unsafe.Pointer) *ULGPUDriverNextTextureIdCallback
func (ULGPUDriverNextTextureIdCallback) PassRef ¶
func (x ULGPUDriverNextTextureIdCallback) PassRef() (ref *C.ULGPUDriverNextTextureIdCallback, allocs *cgoAllocMap)
func (ULGPUDriverNextTextureIdCallback) PassValue ¶
func (x ULGPUDriverNextTextureIdCallback) PassValue() (ref C.ULGPUDriverNextTextureIdCallback, allocs *cgoAllocMap)
type ULGPUDriverUpdateCommandListCallback ¶
type ULGPUDriverUpdateCommandListCallback func(list ULCommandList)
ULGPUDriverUpdateCommandListCallback type as declared in Ultralight/CAPI.h:1768
func NewULGPUDriverUpdateCommandListCallbackRef ¶
func NewULGPUDriverUpdateCommandListCallbackRef(ref unsafe.Pointer) *ULGPUDriverUpdateCommandListCallback
func (ULGPUDriverUpdateCommandListCallback) PassRef ¶
func (x ULGPUDriverUpdateCommandListCallback) PassRef() (ref *C.ULGPUDriverUpdateCommandListCallback, allocs *cgoAllocMap)
func (ULGPUDriverUpdateCommandListCallback) PassValue ¶
func (x ULGPUDriverUpdateCommandListCallback) PassValue() (ref C.ULGPUDriverUpdateCommandListCallback, allocs *cgoAllocMap)
type ULGPUDriverUpdateGeometryCallback ¶
type ULGPUDriverUpdateGeometryCallback func(geometry_id uint32, vertices ULVertexBuffer, indices ULIndexBuffer)
ULGPUDriverUpdateGeometryCallback type as declared in Ultralight/CAPI.h:1753
func NewULGPUDriverUpdateGeometryCallbackRef ¶
func NewULGPUDriverUpdateGeometryCallbackRef(ref unsafe.Pointer) *ULGPUDriverUpdateGeometryCallback
func (ULGPUDriverUpdateGeometryCallback) PassRef ¶
func (x ULGPUDriverUpdateGeometryCallback) PassRef() (ref *C.ULGPUDriverUpdateGeometryCallback, allocs *cgoAllocMap)
func (ULGPUDriverUpdateGeometryCallback) PassValue ¶
func (x ULGPUDriverUpdateGeometryCallback) PassValue() (ref C.ULGPUDriverUpdateGeometryCallback, allocs *cgoAllocMap)
type ULGPUDriverUpdateTextureCallback ¶
ULGPUDriverUpdateTextureCallback type as declared in Ultralight/CAPI.h:1702
func NewULGPUDriverUpdateTextureCallbackRef ¶
func NewULGPUDriverUpdateTextureCallbackRef(ref unsafe.Pointer) *ULGPUDriverUpdateTextureCallback
func (ULGPUDriverUpdateTextureCallback) PassRef ¶
func (x ULGPUDriverUpdateTextureCallback) PassRef() (ref *C.ULGPUDriverUpdateTextureCallback, allocs *cgoAllocMap)
func (ULGPUDriverUpdateTextureCallback) PassValue ¶
func (x ULGPUDriverUpdateTextureCallback) PassValue() (ref C.ULGPUDriverUpdateTextureCallback, allocs *cgoAllocMap)
type ULGPUState ¶
type ULGPUState struct { Viewport_width uint32 Viewport_height uint32 Transform ULMatrix4x4 Enable_texturing bool Enable_blend bool Shader_type byte Render_buffer_id uint32 Texture_1_id uint32 Texture_2_id uint32 Texture_3_id uint32 Uniform_scalar [8]float32 Uniform_vector [8]ULvec4 Clip_size byte Clip [8]ULMatrix4x4 Enable_scissor bool Scissor_rect ULIntRect // contains filtered or unexported fields }
ULGPUState as declared in Ultralight/CAPI.h:1633
func NewULGPUStateRef ¶
func NewULGPUStateRef(ref unsafe.Pointer) *ULGPUState
NewULGPUStateRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*ULGPUState) Deref ¶
func (x *ULGPUState) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULGPUState) Free ¶
func (x *ULGPUState) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULGPUState) PassRef ¶
func (x *ULGPUState) PassRef() (*C.ULGPUState, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (ULGPUState) PassValue ¶
func (x ULGPUState) PassValue() (C.ULGPUState, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*ULGPUState) Ref ¶
func (x *ULGPUState) Ref() *C.ULGPUState
Ref returns the underlying reference to C object or nil if struct is nil.
type ULIndexBuffer ¶
ULIndexBuffer as declared in Ultralight/CAPI.h:1555
func NewULIndexBufferRef ¶
func NewULIndexBufferRef(ref unsafe.Pointer) *ULIndexBuffer
NewULIndexBufferRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*ULIndexBuffer) Deref ¶
func (x *ULIndexBuffer) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULIndexBuffer) Free ¶
func (x *ULIndexBuffer) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULIndexBuffer) PassRef ¶
func (x *ULIndexBuffer) PassRef() (*C.ULIndexBuffer, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (ULIndexBuffer) PassValue ¶
func (x ULIndexBuffer) PassValue() (C.ULIndexBuffer, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*ULIndexBuffer) Ref ¶
func (x *ULIndexBuffer) Ref() *C.ULIndexBuffer
Ref returns the underlying reference to C object or nil if struct is nil.
type ULIntRect ¶
type ULIntRect struct { Left int32 Top int32 Right int32 Bottom int32 // contains filtered or unexported fields }
ULIntRect as declared in Ultralight/CAPI.h:239
func NewULIntRectRef ¶
NewULIntRectRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func UlIntRectMakeEmpty ¶
func UlIntRectMakeEmpty() ULIntRect
UlIntRectMakeEmpty function as declared in Ultralight/CAPI.h:1182
func UlSurfaceGetDirtyBounds ¶
UlSurfaceGetDirtyBounds function as declared in Ultralight/CAPI.h:1254
func (*ULIntRect) Deref ¶
func (x *ULIntRect) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULIntRect) Free ¶
func (x *ULIntRect) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULIntRect) PassRef ¶
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
type ULKeyEvent ¶
type ULKeyEvent C.ULKeyEvent
ULKeyEvent as declared in Ultralight/CAPI.h:57
func UlCreateKeyEvent ¶
func UlCreateKeyEvent(_type ULKeyEventType, modifiers uint32, virtual_key_code int32, native_key_code int32, text ULString, unmodified_text ULString, is_keypad bool, is_auto_repeat bool, is_system_key bool) ULKeyEvent
UlCreateKeyEvent function as declared in Ultralight/CAPI.h:1107
type ULKeyEventType ¶
type ULKeyEventType int32
ULKeyEventType as declared in Ultralight/CAPI.h:180
const ( KKeyEventType_KeyDown ULKeyEventType = iota KKeyEventType_KeyUp ULKeyEventType = 1 KKeyEventType_RawKeyDown ULKeyEventType = 2 KKeyEventType_Char ULKeyEventType = 3 )
ULKeyEventType enumeration from Ultralight/CAPI.h:180
type ULLogLevel ¶
type ULLogLevel int32
ULLogLevel as declared in Ultralight/CAPI.h:1458
const ( KLogLevel_Error ULLogLevel = iota KLogLevel_Warning ULLogLevel = 1 KLogLevel_Info ULLogLevel = 2 )
ULLogLevel enumeration from Ultralight/CAPI.h:1458
type ULLogger ¶
type ULLogger struct { Log_message ULLoggerLogMessageCallback // contains filtered or unexported fields }
ULLogger as declared in Ultralight/CAPI.h:1468
func NewULLoggerRef ¶
NewULLoggerRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*ULLogger) Deref ¶
func (x *ULLogger) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULLogger) Free ¶
func (x *ULLogger) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULLogger) PassRef ¶
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
type ULLoggerLogMessageCallback ¶
type ULLoggerLogMessageCallback func(log_level ULLogLevel, message ULString)
ULLoggerLogMessageCallback type as declared in Ultralight/CAPI.h:1464
func NewULLoggerLogMessageCallbackRef ¶
func NewULLoggerLogMessageCallbackRef(ref unsafe.Pointer) *ULLoggerLogMessageCallback
func (ULLoggerLogMessageCallback) PassRef ¶
func (x ULLoggerLogMessageCallback) PassRef() (ref *C.ULLoggerLogMessageCallback, allocs *cgoAllocMap)
func (ULLoggerLogMessageCallback) PassValue ¶
func (x ULLoggerLogMessageCallback) PassValue() (ref C.ULLoggerLogMessageCallback, allocs *cgoAllocMap)
type ULMatrix4x4 ¶
type ULMatrix4x4 struct { Data [16]float32 // contains filtered or unexported fields }
ULMatrix4x4 as declared in Ultralight/CAPI.h:1573
func NewULMatrix4x4Ref ¶
func NewULMatrix4x4Ref(ref unsafe.Pointer) *ULMatrix4x4
NewULMatrix4x4Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func UlApplyProjection ¶
func UlApplyProjection(transform ULMatrix4x4, viewport_width float32, viewport_height float32, flip_y bool) ULMatrix4x4
UlApplyProjection function as declared in Ultralight/CAPI.h:1797
func (*ULMatrix4x4) Deref ¶
func (x *ULMatrix4x4) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULMatrix4x4) Free ¶
func (x *ULMatrix4x4) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULMatrix4x4) PassRef ¶
func (x *ULMatrix4x4) PassRef() (*C.ULMatrix4x4, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (ULMatrix4x4) PassValue ¶
func (x ULMatrix4x4) PassValue() (C.ULMatrix4x4, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*ULMatrix4x4) Ref ¶
func (x *ULMatrix4x4) Ref() *C.ULMatrix4x4
Ref returns the underlying reference to C object or nil if struct is nil.
type ULMessageLevel ¶
type ULMessageLevel int32
ULMessageLevel as declared in Ultralight/CAPI.h:83
const ( KMessageLevel_Log ULMessageLevel = 1 KMessageLevel_Warning ULMessageLevel = 2 KMessageLevel_Error ULMessageLevel = 3 KMessageLevel_Debug ULMessageLevel = 4 KMessageLevel_Info ULMessageLevel = 5 )
ULMessageLevel enumeration from Ultralight/CAPI.h:83
type ULMessageSource ¶
type ULMessageSource int32
ULMessageSource as declared in Ultralight/CAPI.h:75
const ( KMessageSource_XML ULMessageSource = iota KMessageSource_JS ULMessageSource = 1 KMessageSource_Network ULMessageSource = 2 KMessageSource_ConsoleAPI ULMessageSource = 3 KMessageSource_Storage ULMessageSource = 4 KMessageSource_AppCache ULMessageSource = 5 KMessageSource_Rendering ULMessageSource = 6 KMessageSource_CSS ULMessageSource = 7 KMessageSource_Security ULMessageSource = 8 KMessageSource_ContentBlocker ULMessageSource = 9 KMessageSource_Other ULMessageSource = 10 )
ULMessageSource enumeration from Ultralight/CAPI.h:75
type ULMonitor ¶
ULMonitor as declared in AppCore/CAPI.h:36
func UlAppGetMainMonitor ¶
UlAppGetMainMonitor function as declared in AppCore/CAPI.h:170
type ULMouseButton ¶
type ULMouseButton int32
ULMouseButton as declared in Ultralight/CAPI.h:193
const ( KMouseButton_None ULMouseButton = iota KMouseButton_Left ULMouseButton = 1 KMouseButton_Middle ULMouseButton = 2 KMouseButton_Right ULMouseButton = 3 )
ULMouseButton enumeration from Ultralight/CAPI.h:193
type ULMouseEvent ¶
type ULMouseEvent C.ULMouseEvent
ULMouseEvent as declared in Ultralight/CAPI.h:58
func UlCreateMouseEvent ¶
func UlCreateMouseEvent(_type ULMouseEventType, x int32, y int32, button ULMouseButton) ULMouseEvent
UlCreateMouseEvent function as declared in Ultralight/CAPI.h:1133
type ULMouseEventType ¶
type ULMouseEventType int32
ULMouseEventType as declared in Ultralight/CAPI.h:186
const ( KMouseEventType_MouseMoved ULMouseEventType = iota KMouseEventType_MouseDown ULMouseEventType = 1 KMouseEventType_MouseUp ULMouseEventType = 2 )
ULMouseEventType enumeration from Ultralight/CAPI.h:186
type ULOverlay ¶
ULOverlay as declared in AppCore/CAPI.h:37
func UlCreateOverlay ¶
UlCreateOverlay function as declared in AppCore/CAPI.h:318
type ULRect ¶
type ULRect struct { Left float32 Top float32 Right float32 Bottom float32 // contains filtered or unexported fields }
ULRect as declared in Ultralight/CAPI.h:232
func NewULRectRef ¶
NewULRectRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func UlRectMakeEmpty ¶
func UlRectMakeEmpty() ULRect
UlRectMakeEmpty function as declared in Ultralight/CAPI.h:1168
func (*ULRect) Deref ¶
func (x *ULRect) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULRect) Free ¶
func (x *ULRect) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULRect) PassRef ¶
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
type ULRenderBuffer ¶
type ULRenderBuffer struct { Texture_id uint32 Width uint32 Height uint32 Has_stencil_buffer bool Has_depth_buffer bool // contains filtered or unexported fields }
ULRenderBuffer as declared in Ultralight/CAPI.h:1484
func NewULRenderBufferRef ¶
func NewULRenderBufferRef(ref unsafe.Pointer) *ULRenderBuffer
NewULRenderBufferRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*ULRenderBuffer) Deref ¶
func (x *ULRenderBuffer) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULRenderBuffer) Free ¶
func (x *ULRenderBuffer) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULRenderBuffer) PassRef ¶
func (x *ULRenderBuffer) PassRef() (*C.ULRenderBuffer, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (ULRenderBuffer) PassValue ¶
func (x ULRenderBuffer) PassValue() (C.ULRenderBuffer, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*ULRenderBuffer) Ref ¶
func (x *ULRenderBuffer) Ref() *C.ULRenderBuffer
Ref returns the underlying reference to C object or nil if struct is nil.
type ULRenderTarget ¶
type ULRenderTarget struct { Is_empty bool Width uint32 Height uint32 Texture_id uint32 Texture_width uint32 Texture_height uint32 Texture_format ULBitmapFormat Uv_coords ULRect Render_buffer_id uint32 // contains filtered or unexported fields }
ULRenderTarget as declared in Ultralight/CAPI.h:251
func NewULRenderTargetRef ¶
func NewULRenderTargetRef(ref unsafe.Pointer) *ULRenderTarget
NewULRenderTargetRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func UlViewGetRenderTarget ¶
func UlViewGetRenderTarget(view ULView) ULRenderTarget
UlViewGetRenderTarget function as declared in Ultralight/CAPI.h:601
func (*ULRenderTarget) Deref ¶
func (x *ULRenderTarget) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULRenderTarget) Free ¶
func (x *ULRenderTarget) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULRenderTarget) PassRef ¶
func (x *ULRenderTarget) PassRef() (*C.ULRenderTarget, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (ULRenderTarget) PassValue ¶
func (x ULRenderTarget) PassValue() (C.ULRenderTarget, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*ULRenderTarget) Ref ¶
func (x *ULRenderTarget) Ref() *C.ULRenderTarget
Ref returns the underlying reference to C object or nil if struct is nil.
type ULRenderer ¶
type ULRenderer C.ULRenderer
ULRenderer as declared in Ultralight/CAPI.h:51
func UlAppGetRenderer ¶
func UlAppGetRenderer(app ULApp) ULRenderer
UlAppGetRenderer function as declared in AppCore/CAPI.h:175
func UlCreateRenderer ¶
func UlCreateRenderer(config ULConfig) ULRenderer
UlCreateRenderer function as declared in Ultralight/CAPI.h:477
type ULResizeCallback ¶
ULResizeCallback type as declared in AppCore/CAPI.h:235
func NewULResizeCallbackRef ¶
func NewULResizeCallbackRef(ref unsafe.Pointer) *ULResizeCallback
func (ULResizeCallback) PassRef ¶
func (x ULResizeCallback) PassRef() (ref *C.ULResizeCallback, allocs *cgoAllocMap)
func (ULResizeCallback) PassValue ¶
func (x ULResizeCallback) PassValue() (ref C.ULResizeCallback, allocs *cgoAllocMap)
type ULScrollEvent ¶
type ULScrollEvent C.ULScrollEvent
ULScrollEvent as declared in Ultralight/CAPI.h:59
func UlCreateScrollEvent ¶
func UlCreateScrollEvent(_type ULScrollEventType, delta_x int32, delta_y int32) ULScrollEvent
UlCreateScrollEvent function as declared in Ultralight/CAPI.h:1148
type ULScrollEventType ¶
type ULScrollEventType int32
ULScrollEventType as declared in Ultralight/CAPI.h:198
const ( KScrollEventType_ScrollByPixel ULScrollEventType = iota KScrollEventType_ScrollByPage ULScrollEventType = 1 )
ULScrollEventType enumeration from Ultralight/CAPI.h:198
type ULSession ¶
ULSession as declared in Ultralight/CAPI.h:52
func UlCreateSession ¶
func UlCreateSession(renderer ULRenderer, is_persistent bool, name ULString) ULSession
UlCreateSession function as declared in Ultralight/CAPI.h:514
func UlDefaultSession ¶
func UlDefaultSession(renderer ULRenderer) ULSession
UlDefaultSession function as declared in Ultralight/CAPI.h:527
type ULSettings ¶
type ULSettings C.ULSettings
ULSettings as declared in AppCore/CAPI.h:33
func UlCreateSettings ¶
func UlCreateSettings() ULSettings
UlCreateSettings function as declared in AppCore/CAPI.h:52
type ULShaderType ¶
type ULShaderType int32
ULShaderType as declared in Ultralight/CAPI.h:1566
const ( KShaderType_Fill ULShaderType = iota KShaderType_FillPath ULShaderType = 1 )
ULShaderType enumeration from Ultralight/CAPI.h:1566
type ULString ¶
ULString as declared in Ultralight/CAPI.h:55
func UlCreateString ¶
UlCreateString function as declared in Ultralight/CAPI.h:949
func UlCreateStringUTF16 ¶
UlCreateStringUTF16 function as declared in Ultralight/CAPI.h:959
func UlCreateStringUTF8 ¶
UlCreateStringUTF8 function as declared in Ultralight/CAPI.h:954
func UlSessionGetDiskPath ¶
UlSessionGetDiskPath function as declared in Ultralight/CAPI.h:547
func UlSessionGetName ¶
UlSessionGetName function as declared in Ultralight/CAPI.h:537
func UlViewEvaluateScript ¶
UlViewEvaluateScript function as declared in Ultralight/CAPI.h:674
func UlViewGetTitle ¶
UlViewGetTitle function as declared in Ultralight/CAPI.h:579
func UlViewGetURL ¶
UlViewGetURL function as declared in Ultralight/CAPI.h:572
type ULSurface ¶
ULSurface as declared in Ultralight/CAPI.h:60
func UlViewGetSurface ¶
UlViewGetSurface function as declared in Ultralight/CAPI.h:617
type ULSurfaceDefinition ¶
type ULSurfaceDefinition struct { Create ULSurfaceDefinitionCreateCallback Destroy ULSurfaceDefinitionDestroyCallback Get_width ULSurfaceDefinitionGetWidthCallback Get_height ULSurfaceDefinitionGetHeightCallback Get_row_bytes ULSurfaceDefinitionGetRowBytesCallback Get_size ULSurfaceDefinitionGetSizeCallback Lock_pixels ULSurfaceDefinitionLockPixelsCallback Unlock_pixels ULSurfaceDefinitionUnlockPixelsCallback Resize ULSurfaceDefinitionResizeCallback // contains filtered or unexported fields }
ULSurfaceDefinition as declared in Ultralight/CAPI.h:1381
func NewULSurfaceDefinitionRef ¶
func NewULSurfaceDefinitionRef(ref unsafe.Pointer) *ULSurfaceDefinition
NewULSurfaceDefinitionRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*ULSurfaceDefinition) Deref ¶
func (x *ULSurfaceDefinition) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULSurfaceDefinition) Free ¶
func (x *ULSurfaceDefinition) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULSurfaceDefinition) PassRef ¶
func (x *ULSurfaceDefinition) PassRef() (*C.ULSurfaceDefinition, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (ULSurfaceDefinition) PassValue ¶
func (x ULSurfaceDefinition) PassValue() (C.ULSurfaceDefinition, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*ULSurfaceDefinition) Ref ¶
func (x *ULSurfaceDefinition) Ref() *C.ULSurfaceDefinition
Ref returns the underlying reference to C object or nil if struct is nil.
type ULSurfaceDefinitionCreateCallback ¶
ULSurfaceDefinitionCreateCallback type as declared in Ultralight/CAPI.h:1297
func NewULSurfaceDefinitionCreateCallbackRef ¶
func NewULSurfaceDefinitionCreateCallbackRef(ref unsafe.Pointer) *ULSurfaceDefinitionCreateCallback
func (ULSurfaceDefinitionCreateCallback) PassRef ¶
func (x ULSurfaceDefinitionCreateCallback) PassRef() (ref *C.ULSurfaceDefinitionCreateCallback, allocs *cgoAllocMap)
func (ULSurfaceDefinitionCreateCallback) PassValue ¶
func (x ULSurfaceDefinitionCreateCallback) PassValue() (ref C.ULSurfaceDefinitionCreateCallback, allocs *cgoAllocMap)
type ULSurfaceDefinitionDestroyCallback ¶
ULSurfaceDefinitionDestroyCallback type as declared in Ultralight/CAPI.h:1306
func NewULSurfaceDefinitionDestroyCallbackRef ¶
func NewULSurfaceDefinitionDestroyCallbackRef(ref unsafe.Pointer) *ULSurfaceDefinitionDestroyCallback
func (ULSurfaceDefinitionDestroyCallback) PassRef ¶
func (x ULSurfaceDefinitionDestroyCallback) PassRef() (ref *C.ULSurfaceDefinitionDestroyCallback, allocs *cgoAllocMap)
func (ULSurfaceDefinitionDestroyCallback) PassValue ¶
func (x ULSurfaceDefinitionDestroyCallback) PassValue() (ref C.ULSurfaceDefinitionDestroyCallback, allocs *cgoAllocMap)
type ULSurfaceDefinitionGetHeightCallback ¶
ULSurfaceDefinitionGetHeightCallback type as declared in Ultralight/CAPI.h:1322
func NewULSurfaceDefinitionGetHeightCallbackRef ¶
func NewULSurfaceDefinitionGetHeightCallbackRef(ref unsafe.Pointer) *ULSurfaceDefinitionGetHeightCallback
func (ULSurfaceDefinitionGetHeightCallback) PassRef ¶
func (x ULSurfaceDefinitionGetHeightCallback) PassRef() (ref *C.ULSurfaceDefinitionGetHeightCallback, allocs *cgoAllocMap)
func (ULSurfaceDefinitionGetHeightCallback) PassValue ¶
func (x ULSurfaceDefinitionGetHeightCallback) PassValue() (ref C.ULSurfaceDefinitionGetHeightCallback, allocs *cgoAllocMap)
type ULSurfaceDefinitionGetRowBytesCallback ¶
ULSurfaceDefinitionGetRowBytesCallback type as declared in Ultralight/CAPI.h:1332
func NewULSurfaceDefinitionGetRowBytesCallbackRef ¶
func NewULSurfaceDefinitionGetRowBytesCallbackRef(ref unsafe.Pointer) *ULSurfaceDefinitionGetRowBytesCallback
func (ULSurfaceDefinitionGetRowBytesCallback) PassRef ¶
func (x ULSurfaceDefinitionGetRowBytesCallback) PassRef() (ref *C.ULSurfaceDefinitionGetRowBytesCallback, allocs *cgoAllocMap)
func (ULSurfaceDefinitionGetRowBytesCallback) PassValue ¶
func (x ULSurfaceDefinitionGetRowBytesCallback) PassValue() (ref C.ULSurfaceDefinitionGetRowBytesCallback, allocs *cgoAllocMap)
type ULSurfaceDefinitionGetSizeCallback ¶
ULSurfaceDefinitionGetSizeCallback type as declared in Ultralight/CAPI.h:1340
func NewULSurfaceDefinitionGetSizeCallbackRef ¶
func NewULSurfaceDefinitionGetSizeCallbackRef(ref unsafe.Pointer) *ULSurfaceDefinitionGetSizeCallback
func (ULSurfaceDefinitionGetSizeCallback) PassRef ¶
func (x ULSurfaceDefinitionGetSizeCallback) PassRef() (ref *C.ULSurfaceDefinitionGetSizeCallback, allocs *cgoAllocMap)
func (ULSurfaceDefinitionGetSizeCallback) PassValue ¶
func (x ULSurfaceDefinitionGetSizeCallback) PassValue() (ref C.ULSurfaceDefinitionGetSizeCallback, allocs *cgoAllocMap)
type ULSurfaceDefinitionGetWidthCallback ¶
ULSurfaceDefinitionGetWidthCallback type as declared in Ultralight/CAPI.h:1314
func NewULSurfaceDefinitionGetWidthCallbackRef ¶
func NewULSurfaceDefinitionGetWidthCallbackRef(ref unsafe.Pointer) *ULSurfaceDefinitionGetWidthCallback
func (ULSurfaceDefinitionGetWidthCallback) PassRef ¶
func (x ULSurfaceDefinitionGetWidthCallback) PassRef() (ref *C.ULSurfaceDefinitionGetWidthCallback, allocs *cgoAllocMap)
func (ULSurfaceDefinitionGetWidthCallback) PassValue ¶
func (x ULSurfaceDefinitionGetWidthCallback) PassValue() (ref C.ULSurfaceDefinitionGetWidthCallback, allocs *cgoAllocMap)
type ULSurfaceDefinitionLockPixelsCallback ¶
ULSurfaceDefinitionLockPixelsCallback type as declared in Ultralight/CAPI.h:1348
func NewULSurfaceDefinitionLockPixelsCallbackRef ¶
func NewULSurfaceDefinitionLockPixelsCallbackRef(ref unsafe.Pointer) *ULSurfaceDefinitionLockPixelsCallback
func (ULSurfaceDefinitionLockPixelsCallback) PassRef ¶
func (x ULSurfaceDefinitionLockPixelsCallback) PassRef() (ref *C.ULSurfaceDefinitionLockPixelsCallback, allocs *cgoAllocMap)
func (ULSurfaceDefinitionLockPixelsCallback) PassValue ¶
func (x ULSurfaceDefinitionLockPixelsCallback) PassValue() (ref C.ULSurfaceDefinitionLockPixelsCallback, allocs *cgoAllocMap)
type ULSurfaceDefinitionResizeCallback ¶
ULSurfaceDefinitionResizeCallback type as declared in Ultralight/CAPI.h:1369
func NewULSurfaceDefinitionResizeCallbackRef ¶
func NewULSurfaceDefinitionResizeCallbackRef(ref unsafe.Pointer) *ULSurfaceDefinitionResizeCallback
func (ULSurfaceDefinitionResizeCallback) PassRef ¶
func (x ULSurfaceDefinitionResizeCallback) PassRef() (ref *C.ULSurfaceDefinitionResizeCallback, allocs *cgoAllocMap)
func (ULSurfaceDefinitionResizeCallback) PassValue ¶
func (x ULSurfaceDefinitionResizeCallback) PassValue() (ref C.ULSurfaceDefinitionResizeCallback, allocs *cgoAllocMap)
type ULSurfaceDefinitionUnlockPixelsCallback ¶
ULSurfaceDefinitionUnlockPixelsCallback type as declared in Ultralight/CAPI.h:1358
func NewULSurfaceDefinitionUnlockPixelsCallbackRef ¶
func NewULSurfaceDefinitionUnlockPixelsCallbackRef(ref unsafe.Pointer) *ULSurfaceDefinitionUnlockPixelsCallback
func (ULSurfaceDefinitionUnlockPixelsCallback) PassRef ¶
func (x ULSurfaceDefinitionUnlockPixelsCallback) PassRef() (ref *C.ULSurfaceDefinitionUnlockPixelsCallback, allocs *cgoAllocMap)
func (ULSurfaceDefinitionUnlockPixelsCallback) PassValue ¶
func (x ULSurfaceDefinitionUnlockPixelsCallback) PassValue() (ref C.ULSurfaceDefinitionUnlockPixelsCallback, allocs *cgoAllocMap)
type ULUpdateCallback ¶
ULUpdateCallback type as declared in AppCore/CAPI.h:148
func NewULUpdateCallbackRef ¶
func NewULUpdateCallbackRef(ref unsafe.Pointer) *ULUpdateCallback
func (ULUpdateCallback) PassRef ¶
func (x ULUpdateCallback) PassRef() (ref *C.ULUpdateCallback, allocs *cgoAllocMap)
func (ULUpdateCallback) PassValue ¶
func (x ULUpdateCallback) PassValue() (ref C.ULUpdateCallback, allocs *cgoAllocMap)
type ULUpdateHistoryCallback ¶
ULUpdateHistoryCallback type as declared in Ultralight/CAPI.h:904
func NewULUpdateHistoryCallbackRef ¶
func NewULUpdateHistoryCallbackRef(ref unsafe.Pointer) *ULUpdateHistoryCallback
func (ULUpdateHistoryCallback) PassRef ¶
func (x ULUpdateHistoryCallback) PassRef() (ref *C.ULUpdateHistoryCallback, allocs *cgoAllocMap)
func (ULUpdateHistoryCallback) PassValue ¶
func (x ULUpdateHistoryCallback) PassValue() (ref C.ULUpdateHistoryCallback, allocs *cgoAllocMap)
type ULVertexBuffer ¶
type ULVertexBuffer struct { Format ULVertexBufferFormat Size uint32 Data []byte // contains filtered or unexported fields }
ULVertexBuffer as declared in Ultralight/CAPI.h:1542
func NewULVertexBufferRef ¶
func NewULVertexBufferRef(ref unsafe.Pointer) *ULVertexBuffer
NewULVertexBufferRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*ULVertexBuffer) Deref ¶
func (x *ULVertexBuffer) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULVertexBuffer) Free ¶
func (x *ULVertexBuffer) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULVertexBuffer) PassRef ¶
func (x *ULVertexBuffer) PassRef() (*C.ULVertexBuffer, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (ULVertexBuffer) PassValue ¶
func (x ULVertexBuffer) PassValue() (C.ULVertexBuffer, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*ULVertexBuffer) Ref ¶
func (x *ULVertexBuffer) Ref() *C.ULVertexBuffer
Ref returns the underlying reference to C object or nil if struct is nil.
type ULVertexBufferFormat ¶
type ULVertexBufferFormat int32
ULVertexBufferFormat as declared in Ultralight/CAPI.h:1533
const ( KVertexBufferFormat_2f_4ub_2f ULVertexBufferFormat = iota KVertexBufferFormat_2f_4ub_2f_2f_28f ULVertexBufferFormat = 1 )
ULVertexBufferFormat enumeration from Ultralight/CAPI.h:1533
type ULVertex_2f_4ub_2f ¶
type ULVertex_2f_4ub_2f struct { Pos [2]float32 Color [4]byte Obj [2]float32 // contains filtered or unexported fields }
ULVertex_2f_4ub_2f as declared in Ultralight/CAPI.h:1501
func NewULVertex_2f_4ub_2fRef ¶
func NewULVertex_2f_4ub_2fRef(ref unsafe.Pointer) *ULVertex_2f_4ub_2f
NewULVertex_2f_4ub_2fRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*ULVertex_2f_4ub_2f) Deref ¶
func (x *ULVertex_2f_4ub_2f) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULVertex_2f_4ub_2f) Free ¶
func (x *ULVertex_2f_4ub_2f) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULVertex_2f_4ub_2f) PassRef ¶
func (x *ULVertex_2f_4ub_2f) PassRef() (*C.ULVertex_2f_4ub_2f, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (ULVertex_2f_4ub_2f) PassValue ¶
func (x ULVertex_2f_4ub_2f) PassValue() (C.ULVertex_2f_4ub_2f, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*ULVertex_2f_4ub_2f) Ref ¶
func (x *ULVertex_2f_4ub_2f) Ref() *C.ULVertex_2f_4ub_2f
Ref returns the underlying reference to C object or nil if struct is nil.
type ULVertex_2f_4ub_2f_2f_28f ¶
type ULVertex_2f_4ub_2f_2f_28f struct { Pos [2]float32 Color [4]byte Tex [2]float32 Obj [2]float32 Data0 [4]float32 Data1 [4]float32 Data2 [4]float32 Data3 [4]float32 Data4 [4]float32 Data5 [4]float32 Data6 [4]float32 // contains filtered or unexported fields }
ULVertex_2f_4ub_2f_2f_28f as declared in Ultralight/CAPI.h:1520
func NewULVertex_2f_4ub_2f_2f_28fRef ¶
func NewULVertex_2f_4ub_2f_2f_28fRef(ref unsafe.Pointer) *ULVertex_2f_4ub_2f_2f_28f
NewULVertex_2f_4ub_2f_2f_28fRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*ULVertex_2f_4ub_2f_2f_28f) Deref ¶
func (x *ULVertex_2f_4ub_2f_2f_28f) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULVertex_2f_4ub_2f_2f_28f) Free ¶
func (x *ULVertex_2f_4ub_2f_2f_28f) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULVertex_2f_4ub_2f_2f_28f) PassRef ¶
func (x *ULVertex_2f_4ub_2f_2f_28f) PassRef() (*C.ULVertex_2f_4ub_2f_2f_28f, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (ULVertex_2f_4ub_2f_2f_28f) PassValue ¶
func (x ULVertex_2f_4ub_2f_2f_28f) PassValue() (C.ULVertex_2f_4ub_2f_2f_28f, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*ULVertex_2f_4ub_2f_2f_28f) Ref ¶
func (x *ULVertex_2f_4ub_2f_2f_28f) Ref() *C.ULVertex_2f_4ub_2f_2f_28f
Ref returns the underlying reference to C object or nil if struct is nil.
type ULView ¶
ULView as declared in Ultralight/CAPI.h:53
func UlCreateView ¶
func UlCreateView(renderer ULRenderer, width uint32, height uint32, transparent bool, session ULSession, force_cpu_renderer bool) ULView
UlCreateView function as declared in Ultralight/CAPI.h:558
func UlOverlayGetView ¶
UlOverlayGetView function as declared in AppCore/CAPI.h:349
func UlViewCreateInspectorView ¶
UlViewCreateInspectorView function as declared in Ultralight/CAPI.h:940
type ULWindow ¶
ULWindow as declared in AppCore/CAPI.h:35
func UlAppGetWindow ¶
UlAppGetWindow function as declared in AppCore/CAPI.h:145
type ULWindowFlags ¶
type ULWindowFlags int32
ULWindowFlags as declared in AppCore/CAPI.h:47
const ( KWindowFlags_Borderless ULWindowFlags = 1 KWindowFlags_Titled ULWindowFlags = 2 KWindowFlags_Resizable ULWindowFlags = 4 KWindowFlags_Maximizable ULWindowFlags = 8 )
ULWindowFlags enumeration from AppCore/CAPI.h:47
type ULWindowObjectReadyCallback ¶
type ULWindowObjectReadyCallback func(user_data unsafe.Pointer, caller ULView, frame_id uint64, is_main_frame bool, url ULString)
ULWindowObjectReadyCallback type as declared in Ultralight/CAPI.h:867
func NewULWindowObjectReadyCallbackRef ¶
func NewULWindowObjectReadyCallbackRef(ref unsafe.Pointer) *ULWindowObjectReadyCallback
func (ULWindowObjectReadyCallback) PassRef ¶
func (x ULWindowObjectReadyCallback) PassRef() (ref *C.ULWindowObjectReadyCallback, allocs *cgoAllocMap)
func (ULWindowObjectReadyCallback) PassValue ¶
func (x ULWindowObjectReadyCallback) PassValue() (ref C.ULWindowObjectReadyCallback, allocs *cgoAllocMap)
type ULvec4 ¶
type ULvec4 struct { Value [4]float32 // contains filtered or unexported fields }
ULvec4 as declared in Ultralight/CAPI.h:1580
func NewULvec4Ref ¶
NewULvec4Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*ULvec4) Deref ¶
func (x *ULvec4) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ULvec4) Free ¶
func (x *ULvec4) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ULvec4) PassRef ¶
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.