Changeset 4823


Ignore:
Timestamp:
Dec 7, 2014, 9:17:26 AM (5 years ago)
Author:
ldelgass
Message:

minor fixes to sync

Location:
nanovis/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • nanovis/trunk/Command.cpp

    r4822 r4823  
    166166#endif
    167167    lastCmdStatus = TCL_OK;
    168     result = Tcl_EvalEx(interp, Tcl_DStringValue(dsPtr), 
    169                         Tcl_DStringLength(dsPtr), 
     168    result = Tcl_EvalEx(interp, Tcl_DStringValue(dsPtr),
     169                        Tcl_DStringLength(dsPtr),
    170170                        TCL_EVAL_DIRECT | TCL_EVAL_GLOBAL);
    171171    Tcl_DStringSetLength(dsPtr, 0);
     
    353353 * TCL_ERROR to indicate an error.
    354354 */
    355 int
    356 nv::GetVolumeFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, Volume **volPtrPtr)
     355static int
     356GetVolumeFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, Volume **volPtrPtr)
    357357{
    358358    const char *string = Tcl_GetString(objPtr);
     
    13631363
    13641364        char info[1024];
    1365         // FIXME: strlen(info) is the return value of sprintf
    13661365        int cmdLength =
    13671366            sprintf(info, "nv>data tag %s min %g max %g vmin %g vmax %g\n", tag,
  • nanovis/trunk/Command.h

    r4063 r4823  
    5858                           float *floatVal);
    5959
    60 extern int GetVolumeFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr,
    61                             Volume **volume);
    62 
    6360}
    6461
  • nanovis/trunk/nanovisServer.cpp

    r4822 r4823  
    350350    }
    351351
    352     fflush(stdout); 
     352    fflush(stdout);
    353353
    354354    // clean up malloc'd memory
Note: See TracChangeset for help on using the changeset viewer.