summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-05-18 01:02:37 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-05-18 02:02:45 +0900
commit43661180f7ca692fd579623ca88a52e12025d6b0 (patch)
treeb29bc3dfc988e28fe8380323490f0be81c0ed910 /src/lib/ecore_audio
parent7782c0bcb956263e4b58b9ee5640381fe7b3c4f9 (diff)
efl - key/data/value/obj attach to eo objects - make these properties
the key data now is a property so they come out in bindings really nicely like: obj.key_data["blah"] = x; x = obj.key_data["blah"]; etc.
Diffstat (limited to 'src/lib/ecore_audio')
-rw-r--r--src/lib/ecore_audio/ecore_audio_in_tone.eo3
-rw-r--r--src/lib/ecore_audio/ecore_audio_obj_in_tone.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/ecore_audio/ecore_audio_in_tone.eo b/src/lib/ecore_audio/ecore_audio_in_tone.eo
index ec2da4abf3..768b491644 100644
--- a/src/lib/ecore_audio/ecore_audio_in_tone.eo
+++ b/src/lib/ecore_audio/ecore_audio_in_tone.eo
@@ -4,8 +4,7 @@ class Ecore.Audio.In.Tone (Ecore.Audio.In)
4 eo_prefix: ecore_audio_obj_in_tone; 4 eo_prefix: ecore_audio_obj_in_tone;
5 implements { 5 implements {
6 Eo.Base.constructor; 6 Eo.Base.constructor;
7 Eo.Base.key_data_set; 7 Eo.Base.key_data;
8 Eo.Base.key_data_get;
9 Ecore.Audio.In.length.set; 8 Ecore.Audio.In.length.set;
10 Ecore.Audio.In.seek; 9 Ecore.Audio.In.seek;
11 Ecore.Audio.In.read_internal; 10 Ecore.Audio.In.read_internal;
diff --git a/src/lib/ecore_audio/ecore_audio_obj_in_tone.c b/src/lib/ecore_audio/ecore_audio_obj_in_tone.c
index 04747dcc3e..0ec1573084 100644
--- a/src/lib/ecore_audio/ecore_audio_obj_in_tone.c
+++ b/src/lib/ecore_audio/ecore_audio_obj_in_tone.c
@@ -95,8 +95,8 @@ _ecore_audio_in_tone_eo_base_key_data_set(Eo *eo_obj, Ecore_Audio_In_Tone_Data *
95 95
96} 96}
97 97
98EOLIAN static void* 98EOLIAN static void *
99_ecore_audio_in_tone_eo_base_key_data_get(const Eo *eo_obj, Ecore_Audio_In_Tone_Data *obj, const char *key) 99_ecore_audio_in_tone_eo_base_key_data_get(Eo *eo_obj, Ecore_Audio_In_Tone_Data *obj, const char *key)
100{ 100{
101 if (!strcmp(key, ECORE_AUDIO_ATTR_TONE_FREQ)) { 101 if (!strcmp(key, ECORE_AUDIO_ATTR_TONE_FREQ)) {
102 return (void *) (intptr_t) obj->freq; 102 return (void *) (intptr_t) obj->freq;