Skip to content

Commit

Permalink
Re-organized a few comments in src/hbdb.c to be more consistent with …
Browse files Browse the repository at this point in the history
…Parrot conventions
  • Loading branch information
soh-cah-toa committed Jun 17, 2011
1 parent 0f058bc commit bb3a61c
Showing 1 changed file with 7 additions and 30 deletions.
37 changes: 7 additions & 30 deletions src/hbdb.c
Expand Up @@ -59,40 +59,17 @@ static void hbdb_command_line(PARROT_INTERP)
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
/* HEADERIZER END: static */

/*
* Type:
* hbdb_cmd
*
* Fields:
* function - points to the function that executes the command
* help - the help message associated with the command
*
* Overview:
* Contains information about the implementation of a particular command.
*/

/* Contains information about the implementation of a particular command */
struct hbdb_cmd {
hbdb_cmd_func_t function;
const char * const help;
hbdb_cmd_func_t function; /* Points to the function the executes the command */
const char * const help; /* Help message associated with the command */
};

/*
* Type:
* hbdb_cmd_list
*
* Fields:
* name - command name
* short - command name abberviation
* cmd - "cmd" type for storing implementation details
*
* Overview:
* Contains general information about a particular command.
*/

/* Contains general information about a particular command */
struct hbdb_cmd_list {
const char * const name;
const char * const short_name;
const hbdb_cmd * const cmd;
const char * const name; /* Command name */
const char * const short_name; /* Command name abbreviation */
const hbdb_cmd * const cmd; /* Details about a command's implementation */
};

/* Help message displayed for each command */
Expand Down

0 comments on commit bb3a61c

Please sign in to comment.