X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Fpython%2Fyaffs_swig_helper.c;fp=direct%2Fpython%2Fyaffs_swig_helper.c;h=9adc18313d3820dc9f84fc8487164022938b55b4;hb=5fdeee70197161d59e3022372d424594c291ce5e;hp=ad42603bcc1ada5019e7995a8e5f873552e8eebe;hpb=c958ef331148b55adf0289bf6bfaa26b1ef7c7e0;p=yaffs2.git diff --git a/direct/python/yaffs_swig_helper.c b/direct/python/yaffs_swig_helper.c index ad42603..9adc183 100644 --- a/direct/python/yaffs_swig_helper.c +++ b/direct/python/yaffs_swig_helper.c @@ -1,4 +1,21 @@ +/* + * These are some dangly bits that need to be built to wrap up the rest of the yaffs test harness + * in SWIG. + * + * This is also the place where extra debugging stuff might end up. + * + */ + #include "yaffsfs.h" int simulate_power_failure; int random_seed; + +int yaffs_print_constants(void) +{ + printf( "O_CREAT........%d\n",O_CREAT); + printf( "O_RDONLY.......%d\n",O_RDONLY); + printf( "O_WRONLY.......%d\n",O_WRONLY); + printf( "O_RDWR.........%d\n",O_RDWR); + printf( "O_TRUNC........%d\n",O_TRUNC); +}