MCPcopy Create free account
hub / github.com/dfranx/ShaderDebugger / lib_common_vec_operator_logical_not

Function lib_common_vec_operator_logical_not

src/CommonLibrary.cpp:524–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

522 return bv_variable_create_void();
523 }
524 bv_variable lib_common_vec_operator_logical_not(bv_program* prog, bv_object* me, u8 count, bv_variable* args)
525 {
526 bv_variable ret = bv_variable_create_void();
527
528 if (count == 0) {
529 ret = bv_variable_create_object(me->type);
530
531 bv_object* retObj = bv_variable_get_object(ret);
532
533 for (u16 i = 0; i < me->type->props.name_count; i++) {
534 bv_variable_deinitialize(&retObj->prop[i]);
535 retObj->prop[i] = bv_variable_create_uchar(bv_variable_op_not(prog, me->prop[i]));
536 }
537 }
538
539 return bv_variable_create_void();
540 }
541 bv_variable lib_common_vec_operator_array_get(bv_program* prog, bv_object* me, u8 count, bv_variable* args)
542 {
543 bv_variable ret = bv_variable_create_void();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected