MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / dupMeta

Method dupMeta

json/jsoncpp.cpp:3530–3544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3528}
3529
3530void Value::dupMeta(const Value& other) {
3531 if (other.comments_) {
3532 comments_ = new CommentInfo[numberOfCommentPlacement];
3533 for (int comment = 0; comment < numberOfCommentPlacement; ++comment) {
3534 const CommentInfo& otherComment = other.comments_[comment];
3535 if (otherComment.comment_)
3536 comments_[comment].setComment(otherComment.comment_,
3537 strlen(otherComment.comment_));
3538 }
3539 } else {
3540 comments_ = 0;
3541 }
3542 start_ = other.start_;
3543 limit_ = other.limit_;
3544}
3545
3546// Access an object value by name, create a null member if it does not exist.
3547// @pre Type of '*this' is object or null.

Callers

nothing calls this directly

Calls 1

setCommentMethod · 0.80

Tested by

no test coverage detected