6 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
b80ad83bd3 Refactor Py_Bind.Py_Property 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
7a6e1ad5d9 Remove useless pragma Suppress 2019-09-04 12:50:06 +02:00
Raphaël AMIARD
78129eb133 Remove lib dependent lines from test output 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