Ignoring output arguments of functions in programming environments
First Claim
1. A non-transitory computer-readable storage medium storing computer-executable instructions, the medium storing one or more instructions for:
- providing code that includes a caller calling a function defined to return a plurality of output arguments, the caller designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; and
processing the code such that the function does not return a value for the at least one of the plurality of output arguments to be ignored.
0 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems and computer program products are provided for ignoring one or more output arguments of a function in a programming environment. Users or programmers may designate one or more output arguments that are not desired by the users. The called function determines which output arguments are designated by the users. The one or more output arguments designated by the users are ignored by the function. The called function may reclaim memory space for the output arguments designated by the users. The called function may also avoid operations for generating values for the output arguments designated by the users. The called function does not need to return values for the output arguments designated by the users.
8 Citations
35 Claims
-
1. A non-transitory computer-readable storage medium storing computer-executable instructions, the medium storing one or more instructions for:
-
providing code that includes a caller calling a function defined to return a plurality of output arguments, the caller designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; and processing the code such that the function does not return a value for the at least one of the plurality of output arguments to be ignored. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A non-transitory computer-readable storage medium storing computer-executable instructions, the medium storing one or more instructions for:
-
providing code that includes a caller calling a function defined to return a plurality of output arguments, the caller designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; and processing the code such that one or more allocated resources, associated with the at least one of the plurality of output arguments to be ignored, are reclaimed. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A non-transitory computer-readable storage medium storing computer-executable instructions, the medium storing one or more instructions for:
-
providing code that includes a caller calling a function defined to return a plurality of output arguments, the caller explicitly designating at least one of the plurality of output arguments that does not have to be named by the caller; and processing the code such that at least one of; the designated at least one of the plurality of output arguments is ignored, one or more allocated resources, associated with the designated at least one of the plurality of output arguments, is reclaimed, a generation of a value, for the designated at least one of the plurality of output arguments, is inhibited or a value, for the designated at least one of the plurality of output arguments, is not returned. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A non-transitory computer-readable storage medium storing computer-executable instructions, the medium storing one or more instructions for:
-
providing code that includes a caller calling a function defined to return a plurality of output arguments, the caller designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; and processing the code such that one or more allocated resources, associated with the at least one of the plurality of output arguments that is designated by the predefined designator, are reclaimed.
-
-
18. A non-transitory computer-readable storage medium storing computer-executable instructions, the medium storing one or more instructions for:
-
providing code that includes a caller calling a function defined to return a plurality of output arguments, the caller designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; and making an allocation of one or more resources, associated with the at least one of the plurality of output arguments that is designated by the predefined designator, unnecessary.
-
-
19. A non-transitory computer-readable storage medium storing computer-executable instructions, the medium storing one or more instructions for:
-
calling a function, defined to return a plurality of output arguments, with a predefined designator that indicates at least one of the plurality of output arguments that is to be ignored or not returned; and ignoring or not returning the at least one of the plurality of output arguments that is indicated by the predefined designator. - View Dependent Claims (20, 21, 22, 23)
-
-
24. A method comprising:
-
providing code that includes a caller calling a function defined to return a plurality of output arguments, the caller designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; and processing the code such that the function does not return a value for the at least one of the plurality of output arguments to be ignored.
-
-
25. A method comprising:
-
providing code that includes a caller calling a function defined to return a plurality of output arguments, the caller designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; and processing the code such that one or more allocated resources, associated with the at least one of the plurality of output arguments to be ignored, are reclaimed.
-
-
26. A method comprising:
-
providing code that includes a caller calling a function defined to return a plurality of output arguments, the caller explicitly designating at least one of the plurality of output arguments that does not have to be named by the caller; and processing the code such that at least one of; the designated at least one of the plurality of output arguments is ignored, one or more allocated resources, associated with the designated at least one of the plurality of output arguments, is reclaimed, a generation of a value, for the designated at least one of the plurality of output arguments, is inhibited or a value, for the designated at least one of the plurality of output arguments, is not returned.
-
-
27. A method comprising:
-
providing code that includes a caller calling a function defined to return a plurality of output arguments, the caller designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; and processing the code such that one or more allocated resources, associated with the at least one of the plurality of output arguments that is designated by the predefined designator, are reclaimed.
-
-
28. A method comprising:
-
providing code that includes a caller calling a function defined to return a plurality of output arguments, the caller designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; and making an allocation of one or more resources, associated with the at least one of the plurality of output arguments that is designated by the predefined designator, unnecessary.
-
-
29. A method comprising:
-
calling a function, defined to return a plurality of output arguments, with a predefined designator that indicates at least one of the plurality of output arguments that is to be ignored or not returned; and ignoring or not returning the at least one of the plurality of output arguments that is indicated by the predefined designator.
-
-
30. An apparatus comprising:
-
means for providing code that includes a caller calling a function defined to return a plurality of output arguments, the caller designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; and means for processing the code such that the function does not return a value for the at least one of the plurality of output arguments to be ignored.
-
-
31. An apparatus comprising:
-
means for providing code that includes a caller calling a function defined to return a plurality of output arguments, the caller designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; and means for processing the code such that one or more allocated resources, associated with the at least one of the plurality of output arguments to be ignored, are reclaimed.
-
-
32. An apparatus comprising:
-
means for providing code that includes a caller calling a function defined to return a plurality of output arguments, the caller explicitly designating at least one of the plurality of output arguments that does not have to be named by the caller; and means for processing the code such that at least one of; the designated at least one of the plurality of output arguments is ignored, one or more allocated resources, associated with the designated at least one of the plurality of output arguments, is reclaimed, a generation of a value, for the designated at least one of the plurality of output arguments, is inhibited or a value, for the designated at least one of the plurality of output arguments, is not returned.
-
-
33. An apparatus comprising:
-
means for providing code that includes a caller calling a function defined to return a plurality of output arguments, the caller designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; and means for processing the code such that one or more allocated resources, associated with the at least one of the plurality of output arguments that is designated by the predefined designator, are reclaimed.
-
-
34. An apparatus comprising:
-
means for providing code that includes a caller calling a function defined to return a plurality of output arguments, the caller designating, with a predefined designator, at least one of the plurality of output arguments to be ignored; and means for making an allocation of one or more resources, associated with the at least one of the plurality of output arguments that is designated by the predefined designator, unnecessary.
-
-
35. An apparatus comprising:
-
means for calling a function, defined to return a plurality of output arguments, with a predefined designator that indicates at least one of the plurality of output arguments that is to be ignored or not returned; and means for ignoring or not returning the at least one of the plurality of output arguments that is indicated by the predefined designator.
-
Specification