Commit graph

76 commits

Author SHA1 Message Date
Ghislain MARY
b36e61414a Fix const warnings during Python wrapper compilation. 2014-07-15 14:15:11 +02:00
Ghislain MARY
684a869a31 Do not include deprecated properties in the Python wrapper. 2014-07-11 17:58:09 +02:00
Ghislain MARY
3c692e3a36 Add some function declarations at the beginning of the generation of the Python wrapper to prevent compilation warnings. 2014-07-11 17:34:29 +02:00
Ghislain MARY
f92d32e5cf Fix indentation bug that was causing errors in Python wrapper generation. 2014-07-11 17:34:04 +02:00
Ghislain MARY
d139c681f1 Add check on NULL pointer before calling *_get_user_data in the Python wrapper. 2014-07-11 17:03:27 +02:00
Ghislain MARY
c4adb92093 Correctly handle return of object types from methods. 2014-07-11 16:55:05 +02:00
Ghislain MARY
0c37b9e59e Correctly handle passing of objects as method arguments in the Python wrapper. 2014-07-11 14:12:52 +02:00
Ghislain MARY
4abe3b3cc8 Correctly handle passing of enum arguments to methods in the Python wrapper. 2014-07-11 11:31:33 +02:00
Ghislain MARY
2d020da4f0 Allow definition of properties without setter or without getter in the Python wrapper. 2014-07-10 15:54:45 +02:00
Ghislain MARY
41a2152b03 Fix tp_name of objects in Python wrapper. 2014-07-10 15:54:01 +02:00
Ghislain MARY
ce1911fe5a Allow None for string parameters in the Python wrapper (value passed as NULL to the C code). 2014-07-10 15:04:21 +02:00
Ghislain MARY
e74afa7979 Prevent double native pointer checking + Improve error messages + Do not generate user_data attributes in the Python wrapper. 2014-07-10 15:03:32 +02:00
Ghislain MARY
7675668137 Force return value type of deallocate and setter functions to void in the Python wrapper to prevent useless variables definitions. 2014-07-10 15:01:37 +02:00
Ghislain MARY
eb2f1cf3be Call linphone *_destroy() or *_unref() functions when destroying a Python object. 2014-07-10 14:13:58 +02:00
Ghislain MARY
7ead063d7f Do not generate Python wrapper for *_destroy(), *_ref() and *_unref() functions. 2014-07-10 12:02:35 +02:00
Ghislain MARY
22e7418bf4 Do not generate Python wrapper for deprecated enums, classes and methods. 2014-07-10 11:48:07 +02:00
Ghislain MARY
62d58437ea Implement instance methods and add a blacklist of C functions that must not be wrapped. 2014-07-09 17:26:05 +02:00
Ghislain MARY
6c0efc3ebc Strip useless 'Linphone' prefix in class and enum names in the Python wrapper. 2014-07-09 16:15:07 +02:00
Ghislain MARY
a200ccbc76 Check validity of the native pointer in the python wrapper. 2014-07-09 16:02:01 +02:00
Ghislain MARY
1661ea383a Add copyright notice. 2014-07-09 14:29:48 +02:00
Ghislain MARY
793f77e928 Handle setters and getters. 2014-07-09 14:19:41 +02:00
Ghislain MARY
a8565b049b Handle creation of Python object from native object pointer. 2014-07-09 10:23:28 +02:00
Ghislain MARY
9213ca8417 Define class methods correctly. 2014-07-09 10:22:43 +02:00
Ghislain MARY
d284dd08d7 Start filling methods body in the python wrapper. 2014-07-08 16:49:27 +02:00
Ghislain MARY
622e0a581b Add logging of called function in the python wrapper. 2014-07-08 16:48:43 +02:00
Ghislain MARY
76c467a163 Begin generation of python module code. 2014-07-07 11:22:06 +02:00