view direct/python/yaffs_swig_helper.c @ 318:0b4bc5c0868e

More SWIG pythonry
author charles
date Fri, 09 Oct 2009 00:11:12 +0100
parents 43c9f5f8b5c6
children
line wrap: on
line source

/*
 * 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);

	return 0;
}