11.2.3.1 Declarations and definitions for instances of mbfl_default_object

Preprocessor Macro: mbfl_default_object_declare (DEFOBJ_PROXY_VARNAME)
Preprocessor Macro: mbfl_default_object_declare_global (DEFOBJ_PROXY_VARNAME)

Define the variables needed to handle a new instance of a subclass of mbfl_default_object. The data variable is declared using, respectively: declare or declare -g.

We can think of these macros as working like mbfl_declare_varref(): they declare variables, one of which is a data variable whose name we can pass around as parameter to functions.


This document describes version 3.0.0-devel.9 of Marcos Bash Functions Library.