python - SWIG function not printing output -
i'm having prblem in executing function i've written in c. i've made , interface file given below:
%module cnode %{ #include "cnode.h" %} %include "cnode.h"
and here c program :
#include <stdio.h> #include "cnode.h" void kill(void) { printf("method executed\n"); }
the header file:
void kill(void);
when i'm trying execute in python interpreter, don't output. there problem declarations or bug?
figured out, kill() predefined function won't work. changing name of function works fine.
Comments
Post a Comment