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-boun...@lists.webkit.org 
[mailto:webkit-dev-boun...@lists.webkit.org] On Behalf Of Chandrakant Rinayat
Sent: Thursday, January 30, 2014 6:02 PM
To: webkit-dev@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
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to