ClangSharp
ClangSharp copied to clipboard
Oh I catch issue with ClangSharpPInvokeGenerator
Hey everyone,
I caught it issue if It happens like NULL as uncheckednull- That is wrong with Generatoir. Haha! Is it classical bug?
I explain you I have ported xcb into C#
Why does it happen If I use xcb_ewmh.h than it said uncheckednull
Example:
static inline xcb_void_cookie_t
xcb_ewmh_request_frame_extents(xcb_ewmh_connection_t *ewmh,
int screen_nbr,
xcb_window_t client_window)
{
return xcb_ewmh_send_client_message(ewmh->connection, client_window,
ewmh->screens[screen_nbr]->root,
ewmh->_NET_REQUEST_FRAME_EXTENTS, 0, NULL);
}
Generated by Tool:
public static xcb_void_cookie_t xcb_ewmh_request_frame_extents(xcb_ewmh_connection_t* ewmh, int screen_nbr, xcb_window_t client_window)
{
return xcb_ewmh_send_client_message(ewmh->connection, client_window, ewmh->screens[screen_nbr]->root, ewmh->_NET_REQUEST_FRAME_EXTENTS, 0, uncheckednull);
}
// EDIT: It is very latest version 20.x of ClangSharpPInvokeGenerator
Is it correct or wrongly?
And happy October Day!