Skip to content
Snippets Groups Projects
Commit 1ab0087b authored by slevy's avatar slevy
Browse files

New plugin interface.

Make sure pp_spi_init() is exported where plugins.c can see it.
parent b1ddbb18
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,10 @@ extern "C" {
}
#endif /*!GLX_VERSION_1_2*/
extern "C" {
extern void pp_spi_init();
}
struct spichan {
int code; /* SPI_1C_FRONT, etc. */
int pfcode; /* SPI_PF_1_CHAN, etc. */
......@@ -120,7 +124,7 @@ int pp_spi_postdraw( Fl_Gview *view, int passno ) {
return 0;
}
int pp_spi_parse_args( struct stuff **, int argc, char *argv[], void * ) {
int pp_spi_parse_args( struct stuff **, int argc, char *argv[], char *fname, void * ) {
if(argc < 1 || (strncmp(argv[0], "elumens", 3)
&& strcmp(argv[0], "spi")))
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment