Ruby  3.1.0dev(2021-09-10revisionb76ad15ed0da636161de0243c547ee1e6fc95681)
Macros | Functions
ruby-runner.c File Reference

(b76ad15ed0da636161de0243c547ee1e6fc95681)

#include "ruby/internal/config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "ruby-runner.h"
Include dependency graph for ruby-runner.c:

Go to the source code of this file.

Macros

#define _POSIX_C_SOURCE   200809L
 
#define STRINGIZE(expr)   STRINGIZE0(expr)
 
#define STRINGIZE0(expr)   #expr
 
#define EXTOUT_DIR   BUILDDIR"/"EXTOUT
 

Functions

int main (int argc, char **argv)
 

Macro Definition Documentation

◆ _POSIX_C_SOURCE

#define _POSIX_C_SOURCE   200809L

Definition at line 1 of file ruby-runner.c.

◆ EXTOUT_DIR

#define EXTOUT_DIR   BUILDDIR"/"EXTOUT

Definition at line 54 of file ruby-runner.c.

◆ STRINGIZE

#define STRINGIZE (   expr)    STRINGIZE0(expr)

Definition at line 16 of file ruby-runner.c.

◆ STRINGIZE0

#define STRINGIZE0 (   expr)    #expr

Definition at line 17 of file ruby-runner.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 56 of file ruby-runner.c.

References argv, EXTOUT_DIR, NULL, stat, and STRINGIZE.

Referenced by WinMain().