Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFI: Reader.attribute does not use pointer returned from xmlSplitQName2 #59

Closed
ghost opened this issue May 16, 2009 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented May 16, 2009

You need to pull the pointer out of the temporary memory passed as the second arg to xmlSplitQName2(), after it returns.

prefix = FFI::MemoryPointer.new :pointer
localname = LibXML.xmlSplitQName2(name, prefix)
prefix = prefix.get_pointer(0)
@flavorjones
Copy link
Member

FFI: fixing pointer bug in reader. thanks to Wayne Meissner. closed by c4c583a.

flavorjones pushed a commit that referenced this issue Apr 7, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant