IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42552


Ignore:
Timestamp:
Dec 3, 2023, 2:47:58 PM (3 years ago)
Author:
eugene
Message:

add string type vector

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/type.c

    r39558 r42552  
    3434  Buffer *buf = NULL;
    3535  if ((vec = SelectVector (argv[1], OLDVECTOR, FALSE)) != NULL) {
    36     if (vec->type == OPIHI_FLT) { strcpy (result, "float"); goto got_result; }
    37     if (vec->type == OPIHI_INT) { strcpy (result, "int");   goto got_result; }
     36    if (vec->type == OPIHI_FLT) { strcpy (result, "float");  goto got_result; }
     37    if (vec->type == OPIHI_INT) { strcpy (result, "int");    goto got_result; }
     38    if (vec->type == OPIHI_STR) { strcpy (result, "string"); goto got_result; }
    3839    myAbort ("impossible");
    3940  }
Note: See TracChangeset for help on using the changeset viewer.