Make interface vtables const

Frees up a bit of ram on ESP

PUBLISHED_FROM=0ea046cc63704481bca138b3096937669b94733d
This commit is contained in:
Deomid Ryabkov authored and Cesanta Bot committed 2017-03-11 00:11:56 +00:00
1 parent 08353731ef
commit d3a8862bd8
3 files changed
+28 -28

No files matched your search

+2 -2
View File
@@ -4,9 +4,9 @@ decl_name: "struct mg_mgr_init_opts"
symbol_kind: "struct"
signature: |
struct mg_mgr_init_opts {
struct mg_iface_vtable *main_iface;
const struct mg_iface_vtable *main_iface;
int num_ifaces;
struct mg_iface_vtable **ifaces;
const struct mg_iface_vtable **ifaces;
};
---