summaryrefslogtreecommitdiff
path: root/efl/edje/efl.edje_message.pxi
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2015-01-04 22:02:09 +0100
committerDave Andreoli <dave@gurumeditation.it>2015-01-04 22:02:09 +0100
commit3ebc6f21e9f206a079f874bc8183f23d84c03c35 (patch)
treec787936ced1fa134153dae56ce6d8b992ba5d852 /efl/edje/efl.edje_message.pxi
parent419405e456c3b774ea726d199dbef07ac734a11b (diff)
New style enums for edje
Diffstat (limited to 'efl/edje/efl.edje_message.pxi')
-rw-r--r--efl/edje/efl.edje_message.pxi24
1 files changed, 12 insertions, 12 deletions
diff --git a/efl/edje/efl.edje_message.pxi b/efl/edje/efl.edje_message.pxi
index 6191c56..106297f 100644
--- a/efl/edje/efl.edje_message.pxi
+++ b/efl/edje/efl.edje_message.pxi
@@ -345,29 +345,29 @@ cdef Message MessageStringFloatSet_from_ptr(void *msg):
345 345
346cdef Message Message_from_type(Edje_Message_Type type, int id, void *msg): 346cdef Message Message_from_type(Edje_Message_Type type, int id, void *msg):
347 cdef Message m 347 cdef Message m
348 if type == EDJE_MESSAGE_NONE: 348 if type == <int>EDJE_MESSAGE_NONE:
349 return None 349 return None
350 elif type == EDJE_MESSAGE_SIGNAL: 350 elif type == <int>EDJE_MESSAGE_SIGNAL:
351 m = MessageSignal() 351 m = MessageSignal()
352 elif type == EDJE_MESSAGE_STRING: 352 elif type == <int>EDJE_MESSAGE_STRING:
353 m = MessageString_from_ptr(msg) 353 m = MessageString_from_ptr(msg)
354 elif type == EDJE_MESSAGE_INT: 354 elif type == <int>EDJE_MESSAGE_INT:
355 m = MessageInt_from_ptr(msg) 355 m = MessageInt_from_ptr(msg)
356 elif type == EDJE_MESSAGE_FLOAT: 356 elif type == <int>EDJE_MESSAGE_FLOAT:
357 m = MessageFloat_from_ptr(msg) 357 m = MessageFloat_from_ptr(msg)
358 elif type == EDJE_MESSAGE_STRING_SET: 358 elif type == <int>EDJE_MESSAGE_STRING_SET:
359 m = MessageStringSet_from_ptr(msg) 359 m = MessageStringSet_from_ptr(msg)
360 elif type == EDJE_MESSAGE_INT_SET: 360 elif type == <int>EDJE_MESSAGE_INT_SET:
361 m = MessageIntSet_from_ptr(msg) 361 m = MessageIntSet_from_ptr(msg)
362 elif type == EDJE_MESSAGE_FLOAT_SET: 362 elif type == <int>EDJE_MESSAGE_FLOAT_SET:
363 m = MessageFloatSet_from_ptr(msg) 363 m = MessageFloatSet_from_ptr(msg)
364 elif type == EDJE_MESSAGE_STRING_INT: 364 elif type == <int>EDJE_MESSAGE_STRING_INT:
365 m = MessageStringInt_from_ptr(msg) 365 m = MessageStringInt_from_ptr(msg)
366 elif type == EDJE_MESSAGE_STRING_FLOAT: 366 elif type == <int>EDJE_MESSAGE_STRING_FLOAT:
367 m = MessageStringFloat_from_ptr(msg) 367 m = MessageStringFloat_from_ptr(msg)
368 elif type == EDJE_MESSAGE_STRING_INT_SET : 368 elif type == <int>EDJE_MESSAGE_STRING_INT_SET :
369 m = MessageStringIntSet_from_ptr(msg) 369 m = MessageStringIntSet_from_ptr(msg)
370 elif type == EDJE_MESSAGE_STRING_FLOAT_SET : 370 elif type == <int>EDJE_MESSAGE_STRING_FLOAT_SET :
371 m = MessageStringFloatSet_from_ptr(msg) 371 m = MessageStringFloatSet_from_ptr(msg)
372 372
373 m._type = type 373 m._type = type