I love it that our udev wrapping layer now officially exposes udev. Yay to wrapping.
-- Tom. On 07/04/14 14:54, Mike Blumenkrantz wrote: > discomfitor pushed a commit to branch master. > > http://git.enlightenment.org/core/efl.git/commit/?id=4e1b7308b755ffe46498b05aa3199d45f867bcd3 > > commit 4e1b7308b755ffe46498b05aa3199d45f867bcd3 > Author: Mike Blumenkrantz <[email protected]> > Date: Mon Apr 7 09:54:42 2014 -0400 > > +eeze_udev_get() > > @feature > --- > src/lib/eeze/Eeze.h | 10 ++++++++++ > src/lib/eeze/eeze_main.c | 5 +++++ > 2 files changed, 15 insertions(+) > > diff --git a/src/lib/eeze/Eeze.h b/src/lib/eeze/Eeze.h > index 8349566..5b25d6a 100644 > --- a/src/lib/eeze/Eeze.h > +++ b/src/lib/eeze/Eeze.h > @@ -314,6 +314,16 @@ EAPI int eeze_init(void); > */ > EAPI int eeze_shutdown(void); > > +/** > + * @return the main udev context used by the library > + * This allows for external reuse of the udev context, reducing direct > dependency > + * on libudev. > + * @warning DO NOT CLOSE THIS CONTEXT. > + * @since 1.10 > + */ > +EAPI void *eeze_udev_get(void); > + > + > /** > * @addtogroup Eeze_Find Find > * > diff --git a/src/lib/eeze/eeze_main.c b/src/lib/eeze/eeze_main.c > index 9b46540..7ad0384 100644 > --- a/src/lib/eeze/eeze_main.c > +++ b/src/lib/eeze/eeze_main.c > @@ -126,3 +126,8 @@ eeze_shutdown(void) > return _eeze_init_count; > } > > +EAPI void * > +eeze_udev_get(void) > +{ > + return udev; > +} > ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
