extending and embedding python between python and existing functionality written in for librariesyou usually start from header file such as the following/file example *#include #include #include typedef struct point double xdouble ypoint/compute the gcd of two integers and *extern int gcd(int xint )/replace och with nch in and return the number of replacements *extern int replace(char *schar ochchar nch)/compute the distance between two points *extern double distance(point *apoint * )/ preprocessor constant *#define magic these function prototypes have some kind of implementation in separate file for example/example *#include "example /compute gcd of two positive integers and *int gcd(int xint yint gg ywhile ( xx xy greturn /replace character in string *int replace(char *schar oldchchar newchint nrep while ( strchr( ,oldch)*( ++newchnrep++return nrep/distance between two points *double distance(point *apoint *bdouble dx,dydx -> ->xdy -> ->yreturn sqrt(dx*dx dy*dy) lib fl ff