Hi!
Does anybody know the naming rule for the function that leaves 2 or more objects on the cleanup stack?
For example, I need a function that will create 2 HBufC objects and leaves them on the cleanup stack. Would it be right to name it like this:
Code:void GiveSomeStuffLC2(HBufC*& aBuf1, HBufC*& aBuf2) { aBuf1 = HBufC::NewLC(0); aBuf2 = HBUfC::NewLC(0); }

Reply With Quote

