Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #92216

Re: Embedded Python and C Callback functions

Newsgroups comp.lang.python
Date 2015-06-07 02:15 -0700
References <daad7377-7a61-4e9e-a442-4ba48f7212b2@googlegroups.com> <mailman.229.1433656976.13271.python-list@python.org>
Message-ID <3726dccc-76cb-45a2-b0a8-e41ef300be96@googlegroups.com> (permalink)
Subject Re: Embedded Python and C Callback functions
From doc.mefisto@gmail.com

Show all headers | View raw


I'm trying to debug and find my error. It goes wrong when:
 PyObject *v;
            v = va_arg(*p_va, PyObject *);
            if (v != NULL) {
                if (*(*p_format - 1) != 'N')
                    Py_INCREF(v);
            }

it tries to PyINCREF to my passed callback.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Embedded Python and C Callback functions doc.mefisto@gmail.com - 2015-06-06 11:09 -0700
  Re: Embedded Python and C Callback functions dieter <dieter@handshake.de> - 2015-06-07 08:02 +0200
    Re: Embedded Python and C Callback functions doc.mefisto@gmail.com - 2015-06-07 01:37 -0700
    Re: Embedded Python and C Callback functions doc.mefisto@gmail.com - 2015-06-07 01:56 -0700
      Re: Embedded Python and C Callback functions Laura Creighton <lac@openend.se> - 2015-06-07 11:49 +0200
        Re: Embedded Python and C Callback functions doc.mefisto@gmail.com - 2015-06-07 02:51 -0700
      Re: Embedded Python and C Callback functions Stefan Behnel <stefan_ml@behnel.de> - 2015-06-07 22:32 +0200
    Re: Embedded Python and C Callback functions doc.mefisto@gmail.com - 2015-06-07 02:15 -0700
      Re: Embedded Python and C Callback functions dieter <dieter@handshake.de> - 2015-06-08 07:44 +0200

csiph-web