DFBResult IWindow_Real::Bind( CoreWindow *source, int x, int y ) { D_DEBUG_AT( Core_Window, "IWindow_Real::%s( %p )\n", __FUNCTION__, obj ); D_MAGIC_ASSERT( obj, CoreWindow ); D_MAGIC_ASSERT( source, CoreWindow ); return dfb_window_bind( obj, source, x, y ); }
static DFBResult IDirectFBWindow_Bind( IDirectFBWindow *thiz, IDirectFBWindow *source, int x, int y ) { IDirectFBWindow_data *source_data; DIRECT_INTERFACE_GET_DATA(IDirectFBWindow) D_DEBUG_AT( IDirectFB_Window, "%s()\n", __FUNCTION__ ); if (data->destroyed) return DFB_DESTROYED; DIRECT_INTERFACE_GET_DATA_FROM(source, source_data, IDirectFBWindow); if (source_data->destroyed) return DFB_DESTROYED; return dfb_window_bind( data->window, source_data->window, x, y ); }