Changeset f6f5eee for set.h


Ignore:
Timestamp:
2010-07-27T22:04:19Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
4255320
Parents:
82ca986
Message:

Source documentation update, including a short HACKING file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • set.h

    r82ca986 rf6f5eee  
    3737   from setting invalid values, you can write an evaluator function for
    3838   every setting, which can check a new value and block it by returning
    39    NULL, or replace it by returning a new value. See struct set.eval.
    40    One thing that is really missing here is additional data for the
    41    evaluator. This could be useful to add minimum and maximum values for
    42    integers, for example. */
     39   NULL, or replace it by returning a new value. See struct set.eval. */
    4340
    4441typedef char *(*set_eval) ( struct set *set, char *value );
     
    6663                           this (yet?). */
    6764       
    68         /* Eval: Returns SET_INVALID if the value is incorrect or exactly
    69            the passed value variable. When returning a corrected value,
    70            set_setstr() should be able to free() the returned string! */
     65        /* Eval: Returns SET_INVALID if the value is incorrect, exactly
     66           the passed value variable, or a corrected value. In case of
     67           the latter, set_setstr() will free() the returned string! */
    7168        set_eval eval;
    7269        void *eval_data;
Note: See TracChangeset for help on using the changeset viewer.