muon/ultralight.yml

54 lines
2.2 KiB
YAML
Raw Normal View History

2019-09-26 15:33:10 -05:00
GENERATOR:
PackageName: ultralight
PackageDescription: "Ultralight bindings for golang"
PackageLicense: "THE AUTOGENERATED LICENSE. ALL THE RIGHTS ARE RESERVED BY ROBOTS."
FlagGroups:
- {name: CFLAGS, flags: [-I../include]}
2019-10-07 14:04:16 -05:00
- {name: LDFLAGS, flags: ["-L${SRCDIR}/libs -lUltralightCore -lWebCore -lUltralight -lAppCore"]}
2019-09-26 15:33:10 -05:00
Includes: ["AppCore/CAPI.h"]
Options:
SafeStrings: true
PARSER:
Arch: x86_64
IncludePaths:
- include
- /usr/include
- /usr/lib/gcc/x86_64-linux-gnu/7/include
SourcesPaths:
- AppCore/CAPI.h
TRANSLATOR:
ConstRules:
defines: eval
Rules:
global:
- {action: accept, from: "^ul"}
- {action: accept, from: "^UL"}
- {action: accept, from: "^JS"}
- {action: accept, from: "^k"}
- {action: accept, from: "^B"}
- {action: ignore, from: __size_t__}
- {action: ignore, from: __SIZE_T__}
- {action: ignore, from: _BSD_SIZE_T_DEFINED_}
- {action: ignore, from: _SIZE_T_DECLARED}
- {action: ignore, from: __wchar_t__}
- {action: ignore, from: __WCHAR_T__}
- {transform: export}
function:
- {action: ignore, from: __GO__}
2019-10-07 14:04:16 -05:00
# - {action: ignore, from: JSObjectGetArrayBufferByteLength}
# - {action: ignore, from: JSObjectGetArrayBufferBytesPtr}
# - {action: ignore, from: JSObjectGetTypedArrayBuffer}
# - {action: ignore, from: JSObjectGetTypedArrayByteLength}
# - {action: ignore, from: JSObjectGetTypedArrayByteOffset}
# - {action: ignore, from: JSObjectGetTypedArrayBytesPtr}
# - {action: ignore, from: JSObjectGetTypedArrayLength}
# - {action: ignore, from: JSObjectMakeArrayBufferWithBytesNoCopy}
# - {action: ignore, from: JSObjectMakeTypedArray}
# - {action: ignore, from: JSObjectMakeTypedArrayWithArrayBuffer}
# - {action: ignore, from: JSObjectMakeTypedArrayWithArrayBufferAndOffset}
# - {action: ignore, from: JSObjectMakeTypedArrayWithBytesNoCopy}
# - {action: ignore, from: JSValueGetTypedArrayType}
2019-09-26 15:33:10 -05:00
private:
- {transform: unexport}