Searched refs:takes_pointer (Results 1 – 1 of 1) sorted by relevance
23 void takes_pointer(int *unowned_int) { in takes_pointer() function187 takes_pointer(&stack_int); // Ok in test_unowned_function_calls()188 takes_pointer(unowned_int1); // Ok in test_unowned_function_calls()189 takes_pointer(owned_int1); // Ok in test_unowned_function_calls()190 takes_pointer(new int(42)); // Bad, since new creates and owner in test_unowned_function_calls()193 takes_pointer(returns_owner1()); // Bad in test_unowned_function_calls()196 takes_pointer(returns_no_owner1()); // Ok in test_unowned_function_calls()219 takes_pointer(HeapInt1); // Ok