summaryrefslogtreecommitdiff
path: root/src/lib/evas/file
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:48:20 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:48:20 -0700
commit29cde0ee81fa697583cf4afc37712a5b99d3d5a7 (patch)
treecd4ab5cd8d741feca041f9da5d3d0c38553a0d19 /src/lib/evas/file
parent22beae8b737daf0915856a12edb8294177a0ca83 (diff)
evas: make the info size a parameter of the function to make it safer to roll in.
Diffstat (limited to 'src/lib/evas/file')
-rw-r--r--src/lib/evas/file/evas_module.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/evas/file/evas_module.c b/src/lib/evas/file/evas_module.c
index 003c84c75a..5930e21f13 100644
--- a/src/lib/evas/file/evas_module.c
+++ b/src/lib/evas/file/evas_module.c
@@ -765,7 +765,7 @@ evas_module_shutdown(void)
765} 765}
766 766
767EAPI int 767EAPI int
768_evas_module_engine_inherit(Evas_Func *funcs, char *name) 768_evas_module_engine_inherit(Evas_Func *funcs, char *name, size_t info)
769{ 769{
770 Evas_Module *em; 770 Evas_Module *em;
771 771
@@ -778,6 +778,7 @@ _evas_module_engine_inherit(Evas_Func *funcs, char *name)
778 evas_module_ref(em); 778 evas_module_ref(em);
779 evas_module_use(em); 779 evas_module_use(em);
780 *funcs = *((Evas_Func *)(em->functions)); 780 *funcs = *((Evas_Func *)(em->functions));
781 funcs->info_size = info;
781 return 1; 782 return 1;
782 } 783 }
783 } 784 }