mirror of
https://github.com/tailix/libkernaux.git
synced 2024-11-13 11:04:27 -05:00
34 lines
710 B
C
34 lines
710 B
C
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
|
|
#include <kernaux.h>
|
|
#include <ruby.h>
|
|
|
|
void init_assert();
|
|
void init_ntoa();
|
|
#ifdef HAVE_KERNAUX_CMDLINE
|
|
void init_cmdline();
|
|
#endif // HAVE_KERNAUX_CMDLINE
|
|
#ifdef HAVE_KERNAUX_FILE_CREATE
|
|
void init_file();
|
|
#endif // HAVE_KERNAUX_FILE_CREATE
|
|
#ifdef HAVE_KERNAUX_SNPRINTF
|
|
void init_printf();
|
|
#endif // HAVE_KERNAUX_SNPRINTF
|
|
|
|
void Init_default()
|
|
{
|
|
init_assert();
|
|
init_ntoa();
|
|
#ifdef HAVE_KERNAUX_CMDLINE
|
|
init_cmdline();
|
|
#endif // HAVE_KERNAUX_CMDLINE
|
|
#ifdef HAVE_KERNAUX_FILE_CREATE
|
|
init_file();
|
|
#endif // HAVE_KERNAUX_FILE_CREATE
|
|
#ifdef HAVE_KERNAUX_SNPRINTF
|
|
init_printf();
|
|
#endif // HAVE_KERNAUX_SNPRINTF
|
|
}
|