craft_module: Craft a C module

View source: R/craft_module.R

craft_moduleR Documentation

Craft a C module

Description

This function creates the initial placeholder for a header file (.h) and a C source file (.c) that together form a module.

Usage

craft_module(name = NULL)

Arguments

name

Creates and opens src/<name>.h and src/<name>.c.

header_guards

Whether to include header guards in src/<name>.h.

Value

Run for its side effect of writing src/<name>.h and src/<name>.c.


ramiromagno/craftthis documentation built on Aug. 11, 2022, 4:44 a.m.