1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2024-11-13 11:04:27 -05:00
libkernaux/pkgs/ruby/ext/default/main.c

35 lines
710 B
C
Raw Normal View History

2022-01-21 19:04:48 -05:00
#include <stdbool.h>
2022-01-20 18:06:56 -05:00
#include <stddef.h>
#include <stdint.h>
2022-01-21 19:04:48 -05:00
#include <stdlib.h>
#include <kernaux.h>
2022-01-18 08:03:19 -05:00
#include <ruby.h>
void init_assert();
void init_ntoa();
#ifdef HAVE_KERNAUX_CMDLINE
void init_cmdline();
#endif // HAVE_KERNAUX_CMDLINE
2022-06-07 14:37:34 -04:00
#ifdef HAVE_KERNAUX_FILE_CREATE
void init_file();
#endif // HAVE_KERNAUX_FILE_CREATE
2022-06-07 14:30:52 -04:00
#ifdef HAVE_KERNAUX_SNPRINTF
void init_printf();
#endif // HAVE_KERNAUX_SNPRINTF
2022-01-18 11:47:09 -05:00
void Init_default()
2022-01-18 08:03:19 -05:00
{
init_assert();
init_ntoa();
#ifdef HAVE_KERNAUX_CMDLINE
init_cmdline();
#endif // HAVE_KERNAUX_CMDLINE
2022-06-07 14:37:34 -04:00
#ifdef HAVE_KERNAUX_FILE_CREATE
init_file();
#endif // HAVE_KERNAUX_FILE_CREATE
2022-06-07 14:30:52 -04:00
#ifdef HAVE_KERNAUX_SNPRINTF
init_printf();
#endif // HAVE_KERNAUX_SNPRINTF
2022-01-18 08:03:19 -05:00
}