Changeset 42552
- Timestamp:
- Dec 3, 2023, 2:47:58 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.data/type.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.data/type.c
r39558 r42552 34 34 Buffer *buf = NULL; 35 35 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; } 38 39 myAbort ("impossible"); 39 40 }
Note:
See TracChangeset
for help on using the changeset viewer.
