-
Notifications
You must be signed in to change notification settings - Fork 0
Fix getImplmentation Methods #52
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Milestone
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Projects
Status
In Progress
In
Object.cFix
getImplementationMethods:Do not EVER use
concatand thenfreethe returned conatted string.This will cause the
memberNameto be freed from memory, and then you would not be able to search for the member within theObject.Instead of using
concat, you should use aconststring as amemberName.For example:
const char *string#definemacro that its value is aconststring.