Skip to content

Conversation

@fweimer-rh
Copy link
Contributor

This follows the example code in
https://cython.readthedocs.io/en/latest/src/tutorial/numpy.html#adding-types.

The previous version results in an int-conversion error with current compilers:

…-build/wrappers/python/freenect3.c:16598:3: error: returning ‘void *’ from a function with return type ‘int’ makes integer from pointer without a cast
16598 |   import_array();
      |   ^~~~~~~~~~~~

Related to:

This follows the example code in
<https://cython.readthedocs.io/en/latest/src/tutorial/numpy.html#adding-types>.

The previous version results in an int-conversion error with current
compilers:

…-build/wrappers/python/freenect3.c:16598:3: error: returning ‘void *’ from a function with return type ‘int’ makes integer from pointer without a cast
16598 |   import_array();
      |   ^~~~~~~~~~~~
@piedar piedar added this to the next milestone Jan 5, 2024
@piedar piedar merged commit 196f95d into OpenKinect:master Jan 6, 2024
@fweimer-rh fweimer-rh deleted the c99 branch January 8, 2024 08:01
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