Changeset 69f74c2 for owl.h


Ignore:
Timestamp:
Feb 19, 2013, 8:29:34 PM (8 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master
Children:
3b9ca71
Parents:
e5210c9
git-author:
David Benjamin <davidben@mit.edu> (06/09/12 23:05:48)
git-committer:
David Benjamin <davidben@mit.edu> (02/19/13 20:29:34)
Message:
And now... the moment you've all been waiting for...

Expose OWL_VARIABLE_OTHER variables to perl. Rewrite all perl variable
entry points to use that one. From now on, C only thinks of these
variables as strings.

(This has one regression to be fixed in a later commit: you can't
set/unset with no arguments since we don't know how to set from
boolean.)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.h

    r5001a3d r69f74c2  
    239239  char *summary;                /* summary of usage */
    240240  char *description;            /* detailed description */
    241   GValue val;                   /* current value */
    242241  GClosure *set_fromstring_fn;
    243242                                /* sets the variable to a value
     
    251250
    252251  /* These are only valid for OWL_VARIABLE_{INT,BOOL,STRING} */
     252  GValue val;                   /* current value, if default get_fn/set_fn */
     253
    253254  GCallback get_fn;
    254255                                /* returns a reference to the current value.
Note: See TracChangeset for help on using the changeset viewer.