Software program with alternative function libraries
OwnerAlan Davisinventor
Life of this patent
Estimating the term…
Abstract
A software program. The software program includes a function call. When the program is linked in a first mode, a first compiled routine from a first library is coupled to the function call. Otherwise, a second compiled routine from a second library is coupled to the function call. The first compiled routine is compiled from a source code routine with a parameter in the source code routine set to a first value, and the second compiled routine is compiled from the source code routine having the parameter in the source code routine set to a second value. The first compiled routine has same functionality as the second compiled routine plus additional functionality.
Claims20
A software program, comprising:
- a function call,
- wherein,
- when the program is linked in a first mode:
- a first compiled routine from a first library is coupled to the function call,
- otherwise:
- a second compiled routine from a second library is coupled to the function call,
- wherein the first compiled routine is compiled from a source code routine with a parameter in the source code routine set to a first value,
- wherein the second compiled routine is compiled from the source code routine having the parameter in the source code routine set to a second value, and
- wherein the first compiled routine has same functionality as the second compiled routine plus additional functionality.
A pair of libraries, comprising:
- a first library comprising a first compiled routine;
- a second library comprising a second compiled routine, wherein the first compiled routine is compiled from a source code routine with a parameter in the source code routine set to a first value, wherein the second compiled routine is compiled from the source code routine having the parameter in the source code routine set to a second value, and wherein the first compiled routine has the same functionality as the second compiled routine plus additional functionality.
A method for creating a software program, comprising:
- specifying a mode in which to link the program, wherein the source code for the program comprises a function call;
- and
- when a first mode is specified in the step specifying the mode:
- creating an executable form of the program by coupling object code for a first compiled routine from a first library to the function call in a previously compiled form of the program,
- otherwise:
- creating the executable form of the program by coupling the object code for a second compiled routine from a second library to the function call in the previously compiled form of the program, wherein the first compiled routine has the same functionality as the second compiled routine plus additional functionality.
Dependencies are inferred from the claim text.