File: boost_function.pxd

package info (click to toggle)
python-pcl 0.3.0~rc1%2Bdfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 31,388 kB
  • sloc: python: 3,102; cpp: 283; makefile: 181; sh: 24; ansic: 12
file content (27 lines) | stat: -rw-r--r-- 922 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- coding: utf-8 -*-
cimport pcl_defs as cpp
from libcpp cimport bool

###############################################################################
# Types
###############################################################################

# cdef extern from "boost/function/function.hpp" namespace "boost" nogil:
cdef extern from "boost/function.hpp" namespace "boost" nogil:
    cdef cppclass function[T]:
        function()
        function(T*)
        
        T* get()
        bool unique()
        long use_count()
        void swap(shared_ptr[T])
        void reset(T*)

###############################################################################
# Enum
###############################################################################

###############################################################################
# Activation
###############################################################################