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

Warn unused resut as macro that can be deactivated by defines #82

Open
wants to merge 69 commits into
base: unstable
Choose a base branch
from

Conversation

r3gis3r
Copy link

@r3gis3r r3gis3r commented Mar 10, 2014

Hi,
First, thanks for the great lib :)

I'm currently working on a automatic wrapper to use it through numpy using swig. (actually work is done, I'm just publishing it ;) ). This way minimize maintaining effort and allow me to use it without cost into existing opencv/numpy code.

The small changes I'll propose in next patches are not specific to my swig effort : this will take place in different repo as if I correctly understood it's not in the philosophy of the main lib (which I totally understand). However, that's things that make it more portable and might benefit other people and that's why I propose the pull requests and I would be glad if the little things I change are reported to your main repo ;)

This first patch is about mandatory modification of the header for swig use of the lib.
From docs found, this should also be taken into account depending on gcc version (<3.4). Alternatively could be a ifndef with default value, but from what I found this way to define warn_unused_result is pretty usual.

The second one is not mandatory (as swig can ignore defs), but is about probably obsolete methods in the definition available in ccv.h

liuliu and others added 30 commits March 1, 2014 00:16
this will prepare me to integrate examples on the site with CI.
added tests cases for partition, and dispatch_apply for forward
propagate of convnet
and a Border collie test image
1). I didn't implemented persisted connection, therefore, it is not 1.1;

2). I didn't end most of the responses properly with \n
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

Successfully merging this pull request may close these issues.

2 participants