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]}
    - {name: LDFLAGS, flags: ["-L${SRCDIR}/libs -lUltralightCore -lWebCore -lUltralight -lAppCore"]}
  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__}
            # - {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}
        private:
            - {transform: unexport}