git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
19 lines
234 B
Objective-C
19 lines
234 B
Objective-C
smart_pointer_templatevariables
|
|
|
|
d = DiffImContainerPtr_D(create(1234, 5678));
|
|
|
|
if (d.id != 1234)
|
|
error
|
|
endif
|
|
#if (d.xyz != 5678):
|
|
# error
|
|
|
|
d.id = 4321;
|
|
#d.xyz = 8765
|
|
|
|
if (d.id != 4321)
|
|
error
|
|
endif
|
|
#if (d.xyz != 8765):
|
|
# error
|
|
|