Method for using header files to call a shared library from a dynamic environment
First Claim
1. A computer-implemented method of accessing a library function in a shared library from a dynamic environment, comprising:
- processing a header file of the library function to automatically specify parameter information for creating an interface to access the library function, the processing automatically ensuring inputs to the interface to the library function are selected data types based on the header file;
creating the interface to the library function in the shared library using the parameter information, the interface automatically converting a data type in an input to the interface to a selected data type for the library function; and
saving the interface to the library function in an executable form for subsequent use.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus executes an automated approach allowing access to a standard shared library without requiring the user to create a custom interface definition for library functions that a user wants to access dynamically using a software application. In accordance with one implementation, in an electronic device, a method of accessing a library function from a dynamic environment includes the step of processing a header file of the library function to create an interface to the library function. The interface to the library function is created in the dynamic environment. The user can invoke the process by calling the function from the shared library, and the automated process takes the necessary steps to execute the function.
28 Citations
28 Claims
-
1. A computer-implemented method of accessing a library function in a shared library from a dynamic environment, comprising:
-
processing a header file of the library function to automatically specify parameter information for creating an interface to access the library function, the processing automatically ensuring inputs to the interface to the library function are selected data types based on the header file; creating the interface to the library function in the shared library using the parameter information, the interface automatically converting a data type in an input to the interface to a selected data type for the library function; and saving the interface to the library function in an executable form for subsequent use. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-implemented method of accessing a library function in a shared library from a dynamic environment, comprising:
-
loading the library function from the shared library; processing a header file of the library function and extracting information for creating an interface to the library function, the processing automatically defining parameters for the interface to the library function based on the header file; generating an interface to access the library function as a result of the processing, the interface automatically converting a data type in an input to the interface to a selected data type for the library function; saving the interface to the library function in an executable form for subsequent use; and executing the library function using the interface from the shared library. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A computer-implemented system for calling a shared library from a dynamic environment, the system comprising:
-
a storage; and a processor configured to; execute an application providing a dynamic environment, execute a shared library accessible by the dynamic environment, execute an automated processing function for processing a header file of a library function in the shared library to automatically specify parameter information for creating an interface to the library function, the processing automatically ensuring inputs to the interface to the library function are selected data types based on the header file; and save the interface to the library function in an executable form for subsequent use. - View Dependent Claims (18, 19, 20, 21)
-
-
22. A medium for use in a modeling and execution environment on an electronic device, the medium holding instructions executable using the electronic device for performing a computer-implemented method of accessing a library function in a shared library from a dynamic environment, the method comprising:
-
processing a header file of the library function to automatically specify parameter information for creating an interface to the library function, the processing automatically ensuring inputs to the interface to the library function are selected data types based on the header file; creating the interface to access the library function in the shared library using the parameter information, the interface automatically converting a data type in an input to the interface to a selected data type for the library function; and saving the interface to the library function in an executable form for subsequent use. - View Dependent Claims (23, 24, 25, 26, 27, 28)
-
Specification