4 Commits

Author SHA1 Message Date
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