| 701 | return ret; |
| 702 | } |
| 703 | bv_variable lib_common_mat_operator_equal(bv_program* prog, bv_object* me, u8 count, bv_variable* args) |
| 704 | { |
| 705 | sd::Matrix* myData = (sd::Matrix*)me->user_data; |
| 706 | bv_variable ret = bv_variable_create_uchar(0); |
| 707 | if (count == 1) |
| 708 | { |
| 709 | if (args[0].type == bv_type_object) |
| 710 | { |
| 711 | bv_object* obj = bv_variable_get_object(args[0]); |
| 712 | |
| 713 | // mat == mat |
| 714 | if (obj->type->props.name_count == 0) { |
| 715 | u8 res = (myData->Data == ((sd::Matrix*)obj->user_data)->Data); |
| 716 | bv_variable_set_uchar(&ret, res); |
| 717 | } |
| 718 | } |
| 719 | } |
| 720 | return ret; |
| 721 | } |
| 722 | bv_variable lib_common_mat_operator_increment(bv_program* prog, bv_object* me, u8 count, bv_variable* args) |
| 723 | { |
| 724 | if (count == 0) |
nothing calls this directly
no outgoing calls
no test coverage detected