~ubuntu-branches/ubuntu/natty/pyzmq/natty

« back to all changes in this revision

Viewing changes to zmq/core/message.pxd

  • Committer: Bazaar Package Importer
  • Author(s): Miguel Landaeta
  • Date: 2011-02-03 13:50:00 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110203135000-4y1igjgq5si7ksqg
Tags: 2.0.10.1-1
* New upstream release.
* Migrate to dh_python2 and drop Build-Depends on python-support.
* Fix typo in package descriptions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
# Imports
24
24
#-----------------------------------------------------------------------------
25
25
 
26
 
from cpython cimport bool
27
26
from czmq cimport zmq_msg_t
28
27
 
29
28
#-----------------------------------------------------------------------------
44
43
    cdef object _data      # The actual message data as a Python object.
45
44
    cdef object _buffer    # A Python Buffer/View of the message contents
46
45
    cdef object _bytes     # A bytes/str copy of the message.
47
 
    cdef bool _failed_init # Flag to handle failed zmq_msg_init
 
46
    cdef bint _failed_init # Flag to handle failed zmq_msg_init
48
47
    cdef public object tracker_queue  # Queue for use with zmq_free_fn.
49
48
    cdef public object tracker        # MessageTracker object.
50
49