| 17 | } |
| 18 | |
| 19 | bool StringCompare(OsiArgumentDesc & args) |
| 20 | { |
| 21 | auto a = args[0].String; |
| 22 | auto b = args[1].String; |
| 23 | |
| 24 | int rel = strcmp(a, b); |
| 25 | if (rel < 0) { |
| 26 | args[2].Int32 = -1; |
| 27 | } |
| 28 | else if (rel == 0) { |
| 29 | args[2].Int32 = 0; |
| 30 | } |
| 31 | else { |
| 32 | args[2].Int32 = 1; |
| 33 | } |
| 34 | |
| 35 | return true; |
| 36 | } |
| 37 | |
| 38 | bool StringLength(OsiArgumentDesc & args) |
| 39 | { |
nothing calls this directly
no outgoing calls
no test coverage detected