ponty / pysimavr

python wrapper for simavr which is AVR and arduino simulator
GNU General Public License v3.0
49 stars 14 forks source link

Shared libs #28

Closed Premik closed 7 years ago

Premik commented 7 years ago

This one removes the i-files hacks by making the parts* and utils libraries load the main _simavr.so dynamically. This one is bit tricky because:

So in summary to get around the above it involves:

It might feel little bit like replacing one hack with another :-) But on the other hand it sill keeps some degree of modularity without changing the distribution process completly. And it enables C++ required for the callbacks in the wrapper files. Where the old hack means some parts of the simavr C would have to be compile using C++ compiler.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.1%) to 78.649% when pulling 79543010f0dd6908df7f60875607ce8a4970151a on Premik:unhack into 7b362c5bdb1bf694909d21ce53a407d894bacda8 on ponty:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.2%) to 78.588% when pulling b56e15f7febd8168c8640b31800536b033c68a27 on Premik:unhack into 7b362c5bdb1bf694909d21ce53a407d894bacda8 on ponty:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.2%) to 78.588% when pulling b56e15f7febd8168c8640b31800536b033c68a27 on Premik:unhack into 7b362c5bdb1bf694909d21ce53a407d894bacda8 on ponty:master.