<div dir="auto"><div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: "saikishore" <<a href="mailto:saik710@gmail.com">saik710@gmail.com</a>><br>Date: 26-Jul-2017 8:14 PM<br>Subject: Re: wayland-devel Digest, Vol 83, Issue 72<br>To: <<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a>><br>Cc: <br><br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div class="elided-text"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On 26-Jul-2017 7:32 PM, <<a href="mailto:wayland-devel-request@lists.freedesktop.org" target="_blank">wayland-devel-request@lists.<wbr>freedesktop.org</a>> wrote:<br type="attribution"><blockquote class="m_5452129156005050152quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send wayland-devel mailing list submissions to<br>
<a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedeskto<wbr>p.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/wayland-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/wayland-devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:wayland-devel-request@lists.freedesktop.org" target="_blank">wayland-devel-request@lists.fr<wbr>eedesktop.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:wayland-devel-owner@lists.freedesktop.org" target="_blank">wayland-devel-owner@lists.free<wbr>desktop.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of wayland-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Weston with fbdev-backend shows blank screen on display<br>
(Pekka Paalanen)<br>
2. Re: [PATCH weston] ivi-shell: Added tests for<br>
screen-remove-layer API (Pekka Paalanen)<br>
3. [PATCH 0/5] Allow user to specify how the code is used<br>
(Emil Velikov)<br>
4. [PATCH 1/5] scanner: remove unused <a href="http://scanner.mk" rel="noreferrer" target="_blank">scanner.mk</a> (Emil Velikov)<br>
5. [PATCH 2/5] scanner: use tabs for indentation. (Emil Velikov)<br>
6. [PATCH 3/5] scanner: introduce --object-type option (Emil Velikov)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Wed, 26 Jul 2017 16:38:53 +0300<br>
From: Pekka Paalanen <<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>><br>
To: saikishore <<a href="mailto:saik710@gmail.com" target="_blank">saik710@gmail.com</a>><br>
Cc: <a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedeskto<wbr>p.org</a><br>
Subject: Re: Weston with fbdev-backend shows blank screen on display<br>
Message-ID: <20170726163853.4ec8913f@eldfe<wbr>ll><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
On Wed, 26 Jul 2017 17:24:33 +0530<br>
saikishore <<a href="mailto:saik710@gmail.com" target="_blank">saik710@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
> I have ran weston with fbdev-backend on my embedded platform with no input<br>
> devices (evdev is not enabled) and the below is log and i see blank screen.<br>
> Any advice on this please? it will be great help to me<br>
><br>
><br>
> # weston-launch -- --backend=fbdev-backend.so<br>
><br>
><br>
> Date: 1970-01-01 UTC<br>
> [00:00:00.439] weston 1.7.0<br>
<br>
Hi,<br>
<br>
any reason why so old Weston?<br>
<br>
Nothing in the log looks wrong, Weston thinks everything works fine.<br>
Try running weston-simple-shm when Weston is running. If that shows up,<br>
then weston-desktop-shell has problems.<br>
<br>
Weston usually does not like running without input devices, but in that<br>
case it should just exit gracefully.<br>
<br>
Is fbcon working right? Can you run any old fbdev programs like 'fbi'?<br>
<br>
<br>
Thanks,<br>
pq<br></blockquote></div></div></div><div dir="auto"><br></div></div><div dir="auto"><span style="font-family:sans-serif;font-size:13.696px">Hi pekka</span><div dir="auto" style="font-family:sans-serif;font-size:13.696px">Thanks for your reply. We internally use buildroot for building embedded Linux and in that when I enable Weston package it's coming as 1.7 version hence using it.</div><div dir="auto" style="font-family:sans-serif;font-size:13.696px"><br></div><div dir="auto" style="font-family:sans-serif;font-size:13.696px">And in weston-launch app I have commented out code lines of ioctl call for input devices because I am running on emulation environment hence initally trying to bring up Weston on FB first.</div><div dir="auto" style="font-family:sans-serif;font-size:13.696px"><br></div><div dir="auto" style="font-family:sans-serif;font-size:13.696px">On FB we are booting with default image which is coming fine with Linux boot.</div><div dir="auto" style="font-family:sans-serif;font-size:13.696px"><br></div><div dir="auto" style="font-family:sans-serif;font-size:13.696px">After Linux boot I have launched this weston-launch app then immediately this display goes blank screen.</div><div dir="auto" style="font-family:sans-serif;font-size:13.696px"><br></div><div dir="auto" style="font-family:sans-serif;font-size:13.696px">By the way I didn't used any Weston.ini file and as per log it is taking some default. How to give Weston.ini as input this app weston-launch??.</div><div dir="auto" style="font-family:sans-serif;font-size:13.696px"><br></div><div dir="auto" style="font-family:sans-serif;font-size:13.696px">Is weston-simple-shm can also run similar to weston-launch ? By the way I am running from shell terminal of Linux boot. And what is the command line parameters of weston-simple-shm.</div><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Thanks</div><div dir="auto">Sai</div><div class="elided-text"><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="m_5452129156005050152quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: not available<br>
Type: application/pgp-signature<br>
Size: 833 bytes<br>
Desc: OpenPGP digital signature<br>
URL: <<a href="https://lists.freedesktop.org/archives/wayland-devel/attachments/20170726/51ddd8d2/attachment-0001.sig" rel="noreferrer" target="_blank">https://lists.freedesktop.org<wbr>/archives/wayland-devel/attach<wbr>ments/20170726/51ddd8d2/attach<wbr>ment-0001.sig</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 26 Jul 2017 16:55:40 +0300<br>
From: Pekka Paalanen <<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>><br>
To: Michael Teyfel <<a href="mailto:mteyfel@de.adit-jv.com" target="_blank">mteyfel@de.adit-jv.com</a>><br>
Cc: <a href="mailto:efriedrich@de.adit-jv.com" target="_blank">efriedrich@de.adit-jv.com</a>, <a href="mailto:eucan@de.adit-jv.com" target="_blank">eucan@de.adit-jv.com</a>,<br>
<a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedeskto<wbr>p.org</a><br>
Subject: Re: [PATCH weston] ivi-shell: Added tests for<br>
screen-remove-layer API<br>
Message-ID: <20170726165540.7f3ef300@eldfe<wbr>ll><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
On Wed, 26 Jul 2017 14:22:49 +0200<br>
Michael Teyfel <<a href="mailto:mteyfel@de.adit-jv.com" target="_blank">mteyfel@de.adit-jv.com</a>> wrote:<br>
<br>
> Two cases are tested: success and fail case of the screen-remove-layer API.<br>
><br>
> Signed-off-by: Michael Teyfel <<a href="mailto:mteyfel@de.adit-jv.com" target="_blank">mteyfel@de.adit-jv.com</a>><br>
> ---<br>
> tests/ivi_layout-internal-test<wbr>.c | 69 ++++++++++++++++++++++++++++++<wbr>++++++++++<br>
> 1 file changed, 69 insertions(+)<br>
<br>
Hi Michael,<br>
<br>
looks good, so:<br>
Reviewed-by: Pekka Paalanen <<a href="mailto:pekka.paalanen@collabora.co.uk" target="_blank">pekka.paalanen@collabora.co.u<wbr>k</a>><br>
<br>
Unfortunately we are past the beta release, so I believe merging this<br>
needs to wait for the next development cycle. I'll try to remember to<br>
push this then.<br>
<br>
Or if I get a second opinion that this is ok to push before the RC, I<br>
can do that too.<br>
<br>
<br>
Thanks,<br>
pq<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: not available<br>
Type: application/pgp-signature<br>
Size: 833 bytes<br>
Desc: OpenPGP digital signature<br>
URL: <<a href="https://lists.freedesktop.org/archives/wayland-devel/attachments/20170726/80460d2c/attachment-0001.sig" rel="noreferrer" target="_blank">https://lists.freedesktop.org<wbr>/archives/wayland-devel/attach<wbr>ments/20170726/80460d2c/attach<wbr>ment-0001.sig</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 26 Jul 2017 14:56:16 +0100<br>
From: Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>><br>
To: <a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedeskto<wbr>p.org</a><br>
Cc: <a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a><br>
Subject: [PATCH 0/5] Allow user to specify how the code is used<br>
Message-ID: <<a href="mailto:20170726135621.5179-1-emil.l.velikov@gmail.com" target="_blank">20170726135621.5179-1-emil.l.<wbr>velikov@gmail.com</a>><br>
<br>
Hi all,<br>
<br>
Here is an alternative version of the "symbol visibility" series by Jonas.<br>
<br>
It starts with a couple of mildly related cleanups, which are trivial and<br>
can be applied irrespective of the rest.<br>
<br>
Key goals/differences:<br>
- use "object type" as opposed to "symbol visibility"<br>
Defines the goal, as opposed to the means.<br>
- there's no "static" option<br>
Including .c files from another is considered a bad practise - don't trick<br>
people into using it.<br>
- The default option, as provided by <a href="http://wayland-scanner.mk" rel="noreferrer" target="_blank">wayland-scanner.mk</a>, is STATIC<br>
- No tests, yet<br>
If people are OK with the idea/approach I can spin some.<br>
<br>
<br>
Emil Velikov (5):<br>
scanner: remove unused <a href="http://scanner.mk" rel="noreferrer" target="_blank">scanner.mk</a><br>
scanner: use tabs for indentation.<br>
scanner: introduce --object-type option<br>
build: set the scanner --object-type option<br>
<a href="http://wayland-scanner.mk" rel="noreferrer" target="_blank">wayland-scanner.mk</a>: default --object-type to static<br>
<br>
Makefile.am | 2 +-<br>
src/scanner.c | 67 ++++++++++++++++++++++++++++++<wbr>+++++++++++++++++-------<br>
src/<a href="http://scanner.mk" rel="noreferrer" target="_blank">scanner.mk</a> | 8 -------<br>
<a href="http://wayland-scanner.mk" rel="noreferrer" target="_blank">wayland-scanner.mk</a> | 2 +-<br>
4 files changed, 61 insertions(+), 18 deletions(-)<br>
delete mode 100644 src/<a href="http://scanner.mk" rel="noreferrer" target="_blank">scanner.mk</a><br>
<br>
--<br>
2.13.0<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 26 Jul 2017 14:56:17 +0100<br>
From: Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>><br>
To: <a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedeskto<wbr>p.org</a><br>
Cc: <a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a><br>
Subject: [PATCH 1/5] scanner: remove unused <a href="http://scanner.mk" rel="noreferrer" target="_blank">scanner.mk</a><br>
Message-ID: <<a href="mailto:20170726135621.5179-2-emil.l.velikov@gmail.com" target="_blank">20170726135621.5179-2-emil.l.<wbr>velikov@gmail.com</a>><br>
<br>
From: Emil Velikov <<a href="mailto:emil.velikov@collabora.com" target="_blank">emil.velikov@collabora.com</a>><br>
<br>
Nothing in the existing codebase references the file.<br>
<br>
Signed-off-by: Emil Velikov <<a href="mailto:emil.velikov@collabora.com" target="_blank">emil.velikov@collabora.com</a>><br>
---<br>
src/<a href="http://scanner.mk" rel="noreferrer" target="_blank">scanner.mk</a> | 8 --------<br>
1 file changed, 8 deletions(-)<br>
delete mode 100644 src/<a href="http://scanner.mk" rel="noreferrer" target="_blank">scanner.mk</a><br>
<br>
diff --git a/src/<a href="http://scanner.mk" rel="noreferrer" target="_blank">scanner.mk</a> b/src/<a href="http://scanner.mk" rel="noreferrer" target="_blank">scanner.mk</a><br>
deleted file mode 100644<br>
index 1b6963c..0000000<br>
--- a/src/<a href="http://scanner.mk" rel="noreferrer" target="_blank">scanner.mk</a><br>
+++ /dev/null<br>
@@ -1,8 +0,0 @@<br>
-%-protocol.c : $(protocoldir)/%.xml<br>
- $(AM_V_GEN)$(wayland_scanner) code < $< > $@<br>
-<br>
-%-server-protocol.h : $(protocoldir)/%.xml<br>
- $(AM_V_GEN)$(wayland_scanner) server-header < $< > $@<br>
-<br>
-%-client-protocol.h : $(protocoldir)/%.xml<br>
- $(AM_V_GEN)$(wayland_scanner) client-header < $< > $@<br>
--<br>
2.13.0<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Wed, 26 Jul 2017 14:56:18 +0100<br>
From: Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>><br>
To: <a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedeskto<wbr>p.org</a><br>
Cc: <a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a><br>
Subject: [PATCH 2/5] scanner: use tabs for indentation.<br>
Message-ID: <<a href="mailto:20170726135621.5179-3-emil.l.velikov@gmail.com" target="_blank">20170726135621.5179-3-emil.l.<wbr>velikov@gmail.com</a>><br>
<br>
From: Emil Velikov <<a href="mailto:emil.velikov@collabora.com" target="_blank">emil.velikov@collabora.com</a>><br>
<br>
File uses tabs, barring the few instances fixed with this patch.<br>
<br>
Signed-off-by: Emil Velikov <<a href="mailto:emil.velikov@collabora.com" target="_blank">emil.velikov@collabora.com</a>><br>
---<br>
src/scanner.c | 6 +++---<br>
1 file changed, 3 insertions(+), 3 deletions(-)<br>
<br>
diff --git a/src/scanner.c b/src/scanner.c<br>
index 517068c..c345ed6 100644<br>
--- a/src/scanner.c<br>
+++ b/src/scanner.c<br>
@@ -70,9 +70,9 @@ usage(int ret)<br>
fprintf(stderr, " -h, --help display this help and exit.\n"<br>
" -v, --version print the wayland library version that\n"<br>
" the scanner was built against.\n"<br>
- " -c, --include-core-only include the core version of the headers,\n"<br>
- " that is e.g. wayland-client-core.h instead\n"<br>
- " of wayland-client.h.\n");<br>
+ " -c, --include-core-only include the core version of the headers,\n"<br>
+ " that is e.g. wayland-client-core.h instead\n"<br>
+ " of wayland-client.h.\n");<br>
exit(ret);<br>
}<br>
<br>
--<br>
2.13.0<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Wed, 26 Jul 2017 14:56:19 +0100<br>
From: Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>><br>
To: <a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedeskto<wbr>p.org</a><br>
Cc: <a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a><br>
Subject: [PATCH 3/5] scanner: introduce --object-type option<br>
Message-ID: <<a href="mailto:20170726135621.5179-4-emil.l.velikov@gmail.com" target="_blank">20170726135621.5179-4-emil.l.<wbr>velikov@gmail.com</a>><br>
<br>
From: Emil Velikov <<a href="mailto:emil.velikov@collabora.com" target="_blank">emil.velikov@collabora.com</a>><br>
<br>
The option is used to indicate how the code will be used - would it be a<br>
part of shared or static one.<br>
<br>
In the former case one needs to export the specific symbols, although<br>
normally people want to statically build the protocol code into their<br>
project.<br>
<br>
If the option is missing a warning is emitted, to point people and do<br>
the right thing.<br>
<br>
Signed-off-by: Emil Velikov <<a href="mailto:emil.velikov@collabora.com" target="_blank">emil.velikov@collabora.com</a>><br>
---<br>
src/scanner.c | 61 ++++++++++++++++++++++++++++++<wbr>++++++++++++++++++++++++-----<br>
1 file changed, 56 insertions(+), 5 deletions(-)<br>
<br>
diff --git a/src/scanner.c b/src/scanner.c<br>
index c345ed6..cc45b74 100644<br>
--- a/src/scanner.c<br>
+++ b/src/scanner.c<br>
@@ -57,6 +57,11 @@ enum side {<br>
SERVER,<br>
};<br>
<br>
+enum object_type {<br>
+ SHARED,<br>
+ STATIC,<br>
+};<br>
+<br>
static int<br>
usage(int ret)<br>
{<br>
@@ -70,6 +75,11 @@ usage(int ret)<br>
fprintf(stderr, " -h, --help display this help and exit.\n"<br>
" -v, --version print the wayland library version that\n"<br>
" the scanner was built against.\n"<br>
+ " -t, --object-type=[static,shared]\<wbr>n"<br>
+ " How is the resulting code going to be built/used\n"<br>
+ " static - standalone static object, used internally\n"<br>
+ " shared - shared library, to be used by multiple projects\n"<br>
+ " Using static is highly recommened.\n"<br>
" -c, --include-core-only include the core version of the headers,\n"<br>
" that is e.g. wayland-client-core.h instead\n"<br>
" of wayland-client.h.\n");<br>
@@ -1712,9 +1722,11 @@ emit_messages(struct wl_list *message_list,<br>
printf("};\n\n");<br>
}<br>
<br>
+<br>
static void<br>
-emit_code(struct protocol *protocol)<br>
+emit_code(struct protocol *protocol, enum object_type obj_type)<br>
{<br>
+ const char *symbol_visibility;<br>
struct interface *i, *next;<br>
struct wl_array types;<br>
char **p, *prev;<br>
@@ -1728,6 +1740,19 @@ emit_code(struct protocol *protocol)<br>
"#include <stdint.h>\n"<br>
"#include \"wayland-util.h\"\n\n");<br>
<br>
+ /* When building a shared library symbols must be exported, otherwise<br>
+ * we want to have the symbols hidden. */<br>
+ if (obj_type == STATIC) {<br>
+ symbol_visibility = "WL_PRIVATE";<br>
+ printf("#if defined(__GNUC__) && __GNUC__ >= 4\n"<br>
+ "#define WL_PRIVATE __attribute__ ((visibility(\"hidden\")))\n"<br>
+ "#else\n"<br>
+ "#define WL_PRIVATE\n"<br>
+ "#endif\n\n");<br>
+ } else {<br>
+ symbol_visibility = "WL_EXPORT";<br>
+ }<br>
+<br>
wl_array_init(&types);<br>
wl_list_for_each(i, &protocol->interface_list, link) {<br>
emit_types_forward_declaration<wbr>s(protocol, &i->request_list, &types);<br>
@@ -1757,10 +1782,10 @@ emit_code(struct protocol *protocol)<br>
emit_messages(&i->request_list<wbr>, i, "requests");<br>
emit_messages(&i->event_list, i, "events");<br>
<br>
- printf("WL_EXPORT const struct wl_interface "<br>
+ printf("%s const struct wl_interface "<br>
"%s_interface = {\n"<br>
"\t\"%s\", %d,\n",<br>
- i->name, i->name, i->version);<br>
+ symbol_visibility, i->name, i->name, i->version);<br>
<br>
if (!wl_list_empty(&i->request_li<wbr>st))<br>
printf("\t%d, %s_requests,\n",<br>
@@ -1790,6 +1815,24 @@ free_protocol(struct protocol *protocol)<br>
free_description(protocol->des<wbr>cription);<br>
}<br>
<br>
+static enum object_type<br>
+parse_obj_type(const char *obj_type_str)<br>
+{<br>
+ if (!obj_type_str) {<br>
+ fprintf(stderr, "Warning: --object-type is not specified, assuming shared.\n");<br>
+ return SHARED;<br>
+ }<br>
+<br>
+ if (strcmp(obj_type_str, "static") == 0)<br>
+ return STATIC;<br>
+<br>
+ if (strcmp(obj_type_str, "shared") == 0)<br>
+ return SHARED;<br>
+<br>
+ fprintf(stderr, "Error: invalid object type string '%s'\n", obj_type_str);<br>
+ usage(EXIT_FAILURE);<br>
+}<br>
+<br>
int main(int argc, char *argv[])<br>
{<br>
struct parse_context ctx;<br>
@@ -1802,6 +1845,8 @@ int main(int argc, char *argv[])<br>
bool core_headers = false;<br>
bool version = false;<br>
bool fail = false;<br>
+ char *obj_type_str = NULL;<br>
+ enum object_type obj_type;<br>
int opt;<br>
enum {<br>
CLIENT_HEADER,<br>
@@ -1812,12 +1857,13 @@ int main(int argc, char *argv[])<br>
static const struct option options[] = {<br>
{ "help", no_argument, NULL, 'h' },<br>
{ "version", no_argument, NULL, 'v' },<br>
+ { "object-type", required_argument, NULL, 't' },<br>
{ "include-core-only", no_argument, NULL, 'c' },<br>
{ 0, 0, NULL, 0 }<br>
};<br>
<br>
while (1) {<br>
- opt = getopt_long(argc, argv, "hvc", options, NULL);<br>
+ opt = getopt_long(argc, argv, "hvtc", options, NULL);<br>
<br>
if (opt == -1)<br>
break;<br>
@@ -1829,6 +1875,9 @@ int main(int argc, char *argv[])<br>
case 'v':<br>
version = true;<br>
break;<br>
+ case 't':<br>
+ obj_type_str = optarg;<br>
+ break;<br>
case 'c':<br>
core_headers = true;<br>
break;<br>
@@ -1858,6 +1907,8 @@ int main(int argc, char *argv[])<br>
else<br>
usage(EXIT_FAILURE);<br>
<br>
+ obj_type = parse_obj_type(obj_type_str);<br>
+<br>
if (argc == 3) {<br>
input_filename = argv[1];<br>
input = fopen(input_filename, "r");<br>
@@ -1937,7 +1988,7 @@ int main(int argc, char *argv[])<br>
emit_header(&protocol, SERVER);<br>
break;<br>
case CODE:<br>
- emit_code(&protocol);<br>
+ emit_code(&protocol, obj_type);<br>
break;<br>
}<br>
<br>
--<br>
2.13.0<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedeskto<wbr>p.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/wayland-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/wayland-devel</a><br>
<br>
<br>
------------------------------<br>
<br>
End of wayland-devel Digest, Vol 83, Issue 72<br>
******************************<wbr>***************<br>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>