-1

I have requirement to map C Structures to Python. Any suggestion what will be the best approach to go for SWIG or Boost with least complexity.

Hi...
  • 15
  • 4

1 Answers1

0

If your structures are in pure C, then it's very easy with both methods. Or, you may consider ctypes, though my favorite is SWIG -- it automates things a lot.

squid
  • 2,597
  • 1
  • 23
  • 19
  • Thanks, What you think about maintaining the code base if we go for SWIG as compared to Boost Python? – Hi... Jul 10 '16 at 09:12