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

Revise all XXINTRNL_TEMP_RETURN_PTRVEC #9

Closed
GoogleCodeExporter opened this issue Mar 23, 2015 · 1 comment
Closed

Revise all XXINTRNL_TEMP_RETURN_PTRVEC #9

GoogleCodeExporter opened this issue Mar 23, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

The current igraph_cliques.cpp will result in segfault because
XXINTRNL_TEMP_RETURN_PTRVEC is improperly used.

Note that if you want to return a ReferenceVector of an internal igraph
type, you must use it like this:

igraph_vector_ptr_t res
...
return ReferenceVector<Cpp_Type>::adopt<C_Type>(res);

Please rewrite XXINTRNL_TEMP_RETURN_PTRVEC to use this instead.

(I've reverted those for cliques back to r85 to make igraph_cliques.cpp
works properly, please check the rest yourself.)

Original issue reported on code.google.com by kennytm@gmail.com on 7 Jul 2009 at 2:33

@GoogleCodeExporter
Copy link
Author

Original comment by kennytm@gmail.com on 9 Jul 2009 at 6:52

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant