[webkit-dev] Regarding exposing function using webkit idl
Van Den Berghe, Vincent
Vincent.VanDenBerghe at bvdinfo.com
Thu Jan 30 22:58:25 PST 2014
Hello,
I did have the same requirements and ended up with something like this:
HRESULT ExportSinglePageToCairoSurface([in]int left, [in]int top, [in] int width, [in]int height,[in] LPVOID cr);
There are a number of constraints using a void pointer: among others, you need to specify that the interface using it is local, since remoting void pointers is a no-no.
Vincent
From: webkit-dev-bounces at lists.webkit.org [mailto:webkit-dev-bounces at lists.webkit.org] On Behalf Of Chandrakant Rinayat
Sent: Thursday, January 30, 2014 6:02 PM
To: webkit-dev at lists.webkit.org
Subject: [webkit-dev] Regarding exposing function using webkit idl
Hi,
I am trying to expose one function in webkit idl ,which is taking void pointer as an argument. But When I am exposing, I am facing the errorerror: invalid use of 'void' in WebkitDomtest.h file. I think its parsing error. Kindly please suggest a way to expose this type of function in webkit idl . Please do the needful.
Thanks & Regards
Chandrakant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20140131/051b1eab/attachment.html>
More information about the webkit-dev
mailing list