Raphaël AMIARD
ca8ca88e5b
Make Py_Val.Val unconstrained, require a constructor function
...
Use a constructor function instead of implicit default initialization.
This both makes the compiler happy because in certain obscure cases
default initialization doesn't work (for example arrays), and also makes
ada-py-bind more explicit in terms of initialization logic.
2019-12-19 11:35:16 +01:00
Raphaël AMIARD
ec0833d2f7
SC07-010: Rework array binding facilities
...
Bounded_Array -> Desc_Array
New package Py_Val_Array, to bind arrays with composite components.
2019-12-19 11:35:16 +01:00
Raphaël AMIARD
b80ad83bd3
Refactor Py_Bind.Py_Property
2019-12-19 11:35:16 +01:00
Raphaël AMIARD
b2b90bb1fb
SC07-010: Add Py_Bind.Bounded_Array package
...
New package to allow binding of bounded arrays to Python in an easy way.
2019-12-19 11:35:16 +01:00
Raphaël AMIARD
c22a3b75a7
Py_Value: Rec -> Val
2019-12-19 11:35:16 +01:00
Raphaël AMIARD
79211bd9ee
Add comment wrt byval properties
2019-12-19 11:35:16 +01:00
Raphaël AMIARD
cf18ea4d02
SC07-009: Add type checking on property setters
2019-12-09 21:56:54 +01:00
Raphaël AMIARD
062d98f5b2
Add some doc to Py_Type_Descriptor
2019-12-09 21:56:54 +01:00
Raphaël AMIARD
d0be2bd956
Reorganize & document root module
2019-12-09 21:56:54 +01:00
Raphaël AMIARD
09e9f9100b
SC07-006: Add Py_Bind.Py_Property.Read_Only
2019-12-09 12:12:22 +01:00
Raphaël AMIARD
265909b377
SC07-006: Add missing branch for python runtime error
2019-12-09 12:12:22 +01:00
Raphaël AMIARD
908b764fba
Testsuite: update baselines
2019-12-05 16:59:22 +01:00
Raphaël AMIARD
58c2dbbd6a
Make ada-py-bind work with older versions of GNATCOLL.Python
2019-12-05 16:59:22 +01:00
Raphaël AMIARD
2cb1e2375f
Testsuite: remove erroneous option to e3 testsuite
2019-12-05 16:59:22 +01:00
Raphaël AMIARD
56c224ed87
Add licence
2019-09-04 15:23:50 +02:00
Raphaël AMIARD
115f9a3200
Add source headers
2019-09-04 15:23:16 +02:00
Raphaël AMIARD
c4480adba4
Add readme
2019-09-04 15:23:01 +02:00
Raphaël AMIARD
7a6e1ad5d9
Remove useless pragma Suppress
2019-09-04 12:50:06 +02:00
Raphaël AMIARD
6218732117
Add custom_real test
2019-09-04 12:44:10 +02:00
Raphaël AMIARD
372b6f89f0
Add Py_Bind.Types.Simple_Real_Binding
2019-09-04 12:44:10 +02:00
Raphaël AMIARD
78129eb133
Remove lib dependent lines from test output
2019-09-04 12:44:10 +02:00
Raphaël AMIARD
c1c86cc8ea
Add custom_int test
2019-09-04 12:44:10 +02:00
Raphaël AMIARD
9137fe8199
Add Py_Bind.Types.Simple_Discrete_Binding
2019-09-04 12:44:10 +02:00
Raphaël AMIARD
49d17b70b9
Add test for wrong enum binding
2019-09-04 12:44:10 +02:00
Raphaël AMIARD
419bc72c7e
Add test for simple enum field binding
2019-09-04 12:44:10 +02:00