Loading...
Searching...
No Matches
driver/graph.c
Go to the documentation of this file.
#include <stdlib.h>
#include "driver.h"
#include "driverlib.h"
int COM_Graph_set(void)
{
if (driver->Graph_set)
return (*driver->Graph_set)();
return 0;
}
void COM_Graph_close(void)
{
if (driver->Graph_close)
(*driver->Graph_close)();
}
const char *COM_Graph_get_file(void)
{
if (driver->Graph_get_file)
return (*driver->Graph_get_file)();
return NULL;
}
NULL
#define NULL
Definition ccmath.h:32
COM_Graph_close
void COM_Graph_close(void)
Definition driver/graph.c:12
COM_Graph_set
int COM_Graph_set(void)
Definition driver/graph.c:5
COM_Graph_get_file
const char * COM_Graph_get_file(void)
Definition driver/graph.c:18
driver.h
driverlib.h
driver
Definition driver.h:27
driver::Graph_close
void(* Graph_close)(void)
Definition driver.h:33
driver::Graph_get_file
const char *(* Graph_get_file)(void)
Definition driver.h:34
driver::Graph_set
int(* Graph_set)(void)
Definition driver.h:32