Skip to content

Commit 9112aa1

Browse files
perematogganis
authored andcommitted
Fix for ROOT-8732 (root-project#517)
* Fix for ROOT-8732 - PyROOT cannot read/write C++ class fields of Double32_t * Try to please clang-format * Again :-(
1 parent a2a2c20 commit 9112aa1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bindings/pyroot/src/Converters.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1541,6 +1541,7 @@ namespace {
15411541
// converter factories for ROOT types
15421542
typedef std::pair< const char*, ConverterFactory_t > NFp_t;
15431543

1544+
// clang-format off
15441545
NFp_t factories_[] = {
15451546
// factories for built-ins
15461547
NFp_t( "bool", &CreateBoolConverter ),
@@ -1621,8 +1622,10 @@ namespace {
16211622
NFp_t( "void**", &CreateVoidPtrPtrConverter ),
16221623
NFp_t( "PyObject*", &CreatePyObjectConverter ),
16231624
NFp_t( "_object*", &CreatePyObjectConverter ),
1624-
NFp_t( "FILE*", &CreateVoidArrayConverter )
1625+
NFp_t( "FILE*", &CreateVoidArrayConverter ),
1626+
NFp_t( "Double32_t", &CreateDoubleConverter )
16251627
};
1628+
// clang-format on
16261629

16271630
struct InitConvFactories_t {
16281631
public:

0 commit comments

Comments
 (0)