making gse_functions.c independent of buf.c
no call to buf.c from python any more

memory is all allocated from python via callbacks