[tickets] [opensaf:tickets] #2142 imm: Use C++ for IMM library

2016-10-27 Thread Anders Widell
Unless it is obvious from the example above why removing them would be a good thing, I can list some of the reasons: * The wrappper functions are just clutter - they wouldn't be needed if we use C++ all over * They cost performance and extra memory in cases like the one in the example, since

[tickets] [opensaf:tickets] #2142 imm: Use C++ for IMM library

2016-10-27 Thread Anders Widell
I would really like to get rid of the C<->C++ wrapper functions, that look for example like this: ~~~ void immModel_getNonCriticalCcbs(IMMND_CB *cb, SaUint32T** ccbIdArr, SaUint32T* ccbIdArrSize) { IdVector ccbs; IdVector::iterator ix2; unsigned int ix;

[tickets] [opensaf:tickets] #2142 imm: Use C++ for IMM library

2016-10-26 Thread Hung Nguyen
--- ** [tickets:#2142] imm: Use C++ for IMM library** **Status:** accepted **Milestone:** 5.2.FC **Created:** Thu Oct 27, 2016 04:31 AM UTC by Hung Nguyen **Last Updated:** Thu Oct 27, 2016 04:31 AM UTC **Owner:** Hung Nguyen Use c++ for imm library. --- Sent from sourceforge.net because