Intialization

Intialization — Initialization functions

Synopsis


#include <lunar/lunar.h>


void                lunar_init                          (int *argc,
                                                         char ***argv);

Description

Details

lunar_init ()

void                lunar_init                          (int *argc,
                                                         char ***argv);

Call this function before using any other liblunar functions in your applications. It will initialize liblunar.

argc :

Address of the argc parameter of your main() function. Changed if any arguments were handled.

argv :

Address of the argv parameter of main(). Any parameters understood by lunar_init() are stripped before return.