| 179 | } |
| 180 | |
| 181 | void fxBufferObjectName(txMachine* the, txString buffer, txSize size, txSlot* object, txString suffix) |
| 182 | { |
| 183 | txSlot* slot = mxBehaviorGetProperty(the, object, mxID(_Symbol_toStringTag), 0, XS_ANY); |
| 184 | if (slot && ((slot->kind == XS_STRING_KIND) || (slot->kind == XS_STRING_X_KIND)) && !c_isEmpty(slot->value.string)) { |
| 185 | fxBufferName(buffer, slot->value.string, size - mxStringLength(buffer) - 1); |
| 186 | c_strncat(buffer, suffix, size - mxStringLength(buffer) - 1); |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | void fxBufferName(txString dst, txString src, txSize size) |
| 191 | { |
no test coverage detected