« Home » « Learn » « Download » « Github »

logo

Cello High Level C

Methods

help

void help(var self);
int help_to(var out, int pos, var self);

Print help information about the object self either to stdout or to the object out at some position pos.

Examples

Usage

help(Int);

Help


Usage information

The Help class can be implemented to let an object provide helpful information about itself. In the standard library this class is implemented by Type and it prints out the documentation provided by the Doc class in a friendly way.

Definition

struct Help {
  int (*help_to)(var, int);
};

Implementers

  • Type |     Metadata Object

Back