use al_options in yet to be coded laby reader
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
# This Makefile.am is REALLY where changes should be done
|
# Makefile.am is REALLY where changes should be done
|
||||||
|
# Makefile.in and Makefile are generated from this.
|
||||||
|
|
||||||
bin_PROGRAMS = laby
|
bin_PROGRAMS = laby
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,17 @@
|
|||||||
|
#include "al_options.h"
|
||||||
|
|
||||||
// NOT YET IMPLEMENTED
|
// NOT YET IMPLEMENTED
|
||||||
int main(int argc, char ** argv)
|
int main(int argc, char ** argv)
|
||||||
{
|
{
|
||||||
return 1;
|
int exitcode = 1;
|
||||||
|
struct al_options * options = al_options_create(argc,argv);
|
||||||
|
al_options_set_debug(options,0);
|
||||||
|
struct alhash_datablock * debugdata = al_option_get(options,"debug");
|
||||||
|
if ( debugdata != NULL )
|
||||||
|
{
|
||||||
|
exitcode = 0;
|
||||||
|
}
|
||||||
|
al_options_release(options);
|
||||||
|
|
||||||
|
return exitcode;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user