summaryrefslogtreecommitdiff
path: root/libs/python/pyste/tests/smart_ptr.pyste
blob: cfbdd81aee17ea0c1e79ad2032f7505a260dee99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
C = Class('smart_ptr::C', 'smart_ptr.h')
use_shared_ptr(C)

D = Class('smart_ptr::D', 'smart_ptr.h')
use_auto_ptr(D)

A = Class('smart_ptr::A', 'smart_ptr.h')
use_shared_ptr(A)

Function('smart_ptr::NewC', 'smart_ptr.h')
Function('smart_ptr::NewD', 'smart_ptr.h')
Function('smart_ptr::NewA', 'smart_ptr.h')
Function('smart_ptr::GetA', 'smart_ptr.h')