In my c++ extension i have a public method called:
map getMap();
I have include the header files in to the Example.i interface file.
But how can i interate thru the map hwhen i am in python?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Working example (Windows). An important point is you must instantiate each template you want to expose with the
%templatestatement (seex.ifile) and assign it a legal Python name.x.cpp
x.h
x.i
makefile
Usage: