提交 4a70f6af 编写于 作者: D Derek Parker

Update AddrForMember documentation.

上级 37235bba
......@@ -80,7 +80,8 @@ func (reader *Reader) AddrFor(name string) (uint64, error) {
return uint64(addr), nil
}
// Returns the address for the named struct member.
// Returns the address for the named struct member. Expects the reader to be at the parent entry
// or one of the parents children, thus does not seek to parent by itself.
func (reader *Reader) AddrForMember(member string, initialInstructions []byte) (uint64, error) {
for {
entry, err := reader.NextMemberVariable()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册