Banjo API 1.0.0-rc.2
Low-level C99 game development API
Loading...
Searching...
No Matches
banjo-info.c File Reference
#include <banjo/api.h>
#include <banjo/cli.h>
#include <banjo/log.h>
#include <banjo/main.h>
#include <banjo/system.h>
#include <banjo/version.h>
#include <ctype.h>
#include <stdio.h>
Include dependency graph for banjo-info.c:

Go to the source code of this file.

Functions

static const char * stage_type_name (uint8_t stage)
static size_t format_stage (char *buffer, size_t bufsize, uint8_t stage)
static void print_all (const bj_build_info *info)
static void print_combined (const bj_build_info *info)
int main (int argc, char *argv[])

Variables

static int flag_help = 0
static int flag_all = 0
static int flag_name_lower = 0
static int flag_name = 0
static int flag_version = 0
static int flag_stage = 0
static int flag_debug = 0
static int flag_compiler = 0
static int flag_backends = 0

Function Documentation

◆ format_stage()

size_t format_stage ( char * buffer,
size_t bufsize,
uint8_t stage )
static
Examples
banjo-info.c.

Definition at line 53 of file banjo-info.c.

Referenced by print_combined().

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 165 of file banjo-info.c.

◆ print_all()

void print_all ( const bj_build_info * info)
static
Examples
banjo-info.c.

Definition at line 62 of file banjo-info.c.

Referenced by main().

◆ print_combined()

void print_combined ( const bj_build_info * info)
static
Examples
banjo-info.c.

Definition at line 101 of file banjo-info.c.

Referenced by main().

◆ stage_type_name()

const char * stage_type_name ( uint8_t stage)
static
Examples
banjo-info.c.

Definition at line 41 of file banjo-info.c.

Referenced by format_stage().

Variable Documentation

◆ flag_all

int flag_all = 0
static
Examples
banjo-info.c.

Definition at line 31 of file banjo-info.c.

Referenced by main().

◆ flag_backends

int flag_backends = 0
static
Examples
banjo-info.c.

Definition at line 38 of file banjo-info.c.

Referenced by main(), and print_combined().

◆ flag_compiler

int flag_compiler = 0
static
Examples
banjo-info.c.

Definition at line 37 of file banjo-info.c.

Referenced by main(), and print_combined().

◆ flag_debug

int flag_debug = 0
static
Examples
banjo-info.c.

Definition at line 36 of file banjo-info.c.

Referenced by main(), and print_combined().

◆ flag_help

int flag_help = 0
static
Examples
banjo-info.c.

Definition at line 30 of file banjo-info.c.

Referenced by main().

◆ flag_name

int flag_name = 0
static
Examples
banjo-info.c.

Definition at line 33 of file banjo-info.c.

Referenced by main(), and print_combined().

◆ flag_name_lower

int flag_name_lower = 0
static
Examples
banjo-info.c.

Definition at line 32 of file banjo-info.c.

Referenced by main(), and print_combined().

◆ flag_stage

int flag_stage = 0
static
Examples
banjo-info.c.

Definition at line 35 of file banjo-info.c.

Referenced by main(), and print_combined().

◆ flag_version

int flag_version = 0
static
Examples
banjo-info.c.

Definition at line 34 of file banjo-info.c.

Referenced by main(), and print_combined().