10000 Wrong example from ctypes · Issue #7701 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
Wrong example from ctypes #7701
Closed
Closed
@fabiodl

Description

@fabiodl

In
http://docs.scipy.org/doc/numpy-1.10.1/user/c-info.python-as-glue.html
in the discussion of ctypes,
the example function

void dfilter2d(double *a, double *b, int *astrides, int *dims)

takes astrides and dims as int_, but it seems the correct signature is long_

at least with an x64, Python 2.7.6, numpy 1.8.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0