Changeset 353719a for commands.c


Ignore:
Timestamp:
Feb 19, 2013, 8:29:04 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10
Children:
5001a3d
Parents:
06e04a9
git-author:
David Benjamin <davidben@mit.edu> (06/09/12 16:07:20)
git-committer:
David Benjamin <davidben@mit.edu> (02/19/13 20:29:04)
Message:
Start of perlvariables iteration N+1

New plan: the C <-> perl interface deals entirely with strings. Storage
is entirely perl-side. C does not know and doesn't care about the
underlying perl-side types. Note that this means an "int" variable in C
land and an "int" variable in perl land have no relation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r8258ea5 r353719a  
    16051605    if (!silent) owl_function_error("Unknown variable '%s'", var);
    16061606  } else if (requirebool && owl_variable_get_type(v) != OWL_VARIABLE_BOOL) {
     1607    // FIXME: The above won't work when we make perl variables OWL_VARIABLE_SV
    16071608    if (!silent) owl_function_error("Variable '%s' is not a boolean", var);
    16081609  } else {
     
    16341635    if (!silent) owl_function_error("Unknown variable '%s'", var);
    16351636  } else if (owl_variable_get_type(v) != OWL_VARIABLE_BOOL) {
     1637    // FIXME: The above won't work when we make perl variables OWL_VARIABLE_SV
    16361638    if (!silent) owl_function_error("Variable '%s' is not a boolean", var);
    16371639  } else {
Note: See TracChangeset for help on using the changeset viewer.