pgSetContext
Tomas <[email protected]>
| Newsgroups | gmane.comp.video.picogui.devel |
|---|---|
| Message-ID | <[email protected]> |
hi pgSetContext is missing in cli_c (along with some other things, but i needed just setcontext :) so here are diffs to api.c and clien_c.h ...
api.c.diff
(text/plain, 167 B)
58a59,65
> void pgSetContext(int id) {
> struct pgreqd_setcontext arg;
> arg.context = htonl(id);
>
> _pg_add_request(PGREQ_SETCONTEXT, &arg, sizeof(arg));
> }
>
client_c.h.diff
(text/plain, 47 B)
1476a1477,1478 > void pgSetContext(int id); >