Changeset ad15610 for variable.c


Ignore:
Timestamp:
Aug 8, 2007, 6:01:51 PM (13 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
ce7b824
Parents:
b51d257
Message:
Applying ctl's variable shuffling patch for better ANSI C-ness. closes #18
File:
1 edited

Legend:

Unmodified
Added
Removed
  • variable.c

    r1cf3f8d3 rad15610  
    974974  int numfailed=0;
    975975  char buf[1024];
     976  owl_variable * v;
    976977
    977978  in_regtest = 1;
     
    10271028  FAIL_UNLESS("get enum 10", OWL_WEBBROWSER_NETSCAPE==owl_variable_get_int(&vd,"webbrowser"));
    10281029
    1029   owl_variable * v;
    1030  
    10311030  owl_variable_dict_newvar_string(&vd, "stringvar", "", "", "testval");
    10321031  FAIL_UNLESS("get new string var", NULL != (v = owl_variable_get(&vd, "stringvar", OWL_VARIABLE_STRING)));
Note: See TracChangeset for help on using the changeset viewer.