On Tue, 7 Jun 2011, Ulrich Eckhardt wrote:
> Hi! > > The following code is an example from that file: > > EAPI void > ecore_win32_window_free(Ecore_Win32_Window *window) > { > Ecore_Win32_Window *wnd = window; > > if (!window) return; > > INF("destroying window"); > > if (wnd->shape.mask) > free(wnd->shape.mask); > > DestroyWindow(((Ecore_Win32_Window *)window)->window); > free(window); > } > > There are two things, repeated several times in that file: > 1. In the call to DestroyWindow(), the "window" parameter is converted to an > "Ecore_Win32_Window*", which is the same type it already has. > 2. The input parameter is stored in a local parameter (here: "wnd") of the > same type, which is then used in place of the input parameter. i've fixed the casts in win32 and wince. thank you ! Vincent ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel