Changeset 6f16730 in tol


Ignore:
Timestamp:
Jul 2, 2009, 1:56:21 PM (17 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
cdb9682
Parents:
9e3cbcf
Message:
  • fixing misspell in Address (related to #705)
  • tol::info address (related to #705)
  • changing version number to 2.0.1

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@1134 be4846ae-f051-483a-831f-b64e7d08527f

Location:
toltcl/generic
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • toltcl/generic/tolaccess.cpp

    r9e3cbcf r6f16730  
    19471947 * address of the object referenced in obj_ref.
    19481948 */
    1949 int Tol_GetAddresFromObject( Tcl_Interp * interp,
     1949int Tol_GetAddressFromObject( Tcl_Interp * interp,
    19501950                             Tcl_Obj * obj_ref,
    19511951                             Tcl_Obj * obj_result)
  • toltcl/generic/toltcl.c

    r9e3cbcf r6f16730  
    900900      } else
    901901        tcl_result = Tol_GetReference(interp, objc-2, objv+2, obj_result);
     902    } else if (!strncasecmp("address", arg, length)) {
     903      if (objc != 3) {
     904        Tcl_AppendStringsToObj(obj_result,
     905                               "wrong # args: should be '",
     906                               Tcl_GetString(objv[0]),
     907                               " address {grammar|container objname ?indexes?}'",
     908                               NULL);
     909        tcl_result = TCL_ERROR;
     910      } else {
     911        tcl_result = Tol_GetAddresFromObject( interp,
     912                                              objv[2], obj_result );
     913      }
    902914    } else if (!strncasecmp("included", arg, length)) {
    903915      if (objc == 2)
  • toltcl/generic/toltcl.h

    r9e3cbcf r6f16730  
    3232 */
    3333
    34 #define TOLTCL_MAJOR_VERSION    1
    35 #define TOLTCL_MINOR_VERSION    1
    36 #define TOLTCL_RELEASE_SERIAL   7
     34#define TOLTCL_MAJOR_VERSION    2
     35#define TOLTCL_MINOR_VERSION    0
     36#define TOLTCL_RELEASE_SERIAL   1
    3737#ifdef PACKAGE_VERSION
    3838 #define TOLTCL_VERSION PACKAGE_VERSION
    3939#else
    40  #define TOLTCL_VERSION          "1.1.7"
     40 #define TOLTCL_VERSION          "2.0.1"
    4141#endif
    4242
  • toltcl/generic/toltclInt.h

    r9e3cbcf r6f16730  
    117117                     Tcl_Obj *CONST objv[], Tcl_Obj * obj_result);
    118118
     119/*
     120 * Fill in obj_result the result the string representation of the
     121 * address of the object referenced in obj_ref.
     122 */
     123extern int Tol_GetAddressFromObject _ANSI_ARGS_( (Tcl_Interp * interp,
     124                                                 Tcl_Obj * obj_ref,
     125                                                 Tcl_Obj * obj_result));
    119126/*! Return the path of a set if it is a file, trigger an error in other case
    120127 */
Note: See TracChangeset for help on using the changeset viewer.