System and method for enabling pointers to be passed from computer programs written using computer programming languages that do not support pointers
Abstract
Described herein is a system and method for enabling an application to pass a structure containing a pointer member to an external entity, wherein the application represents a computer program executing in a computer system, and the computer program is written in a computer programming language that does not support pointers. The application declares a variable V, a structure type having a member P, and a variable M of the structure type. The application invokes a function written in a computer programming language that supports pointers. A reference to the variable V is passed to the function. The function, when executed, obtains and returns an address of the variable V. The application sets the member P in the variable M equal to the address of the variable V. The application then passes the variable M to an external entity. In this manner, the present invention enables a structure having a pointer embedded therein to be passed to the external entity.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method performed by an application representing a computer program executing in a computer system, the computer program written in a computer programming language that does not support pointers, the method enabling the application to pass a pointer to an external entity, the method comprising the steps of: (1) declaring a variable V; (2) declaring a structure type having a member P; (3) declaring a variable M of said structure type; (4) invoking a function written in a computer programming language that supports pointers, a reference to said variable V being passed to said function, sa
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (2)
Non-Patent Literature (4)
- "Concert/C:Supporting Distributed Programming with Language", Auerbach et al., Distr. Computing System, 1994 Int'l Conf., pp. 152-159.
- "Smart Remote Procedure Calls:Transparent Treatment of Remote Pointers", Kono et al., Distributed Computing System, 1994 Int'l Conf., pp. 142-151.
- Concert/C:Supporting Distributed Programming with Language , Auerbach et al., Distr. Computing System, 1994 Int l Conf., pp. 152 159.
- Smart Remote Procedure Calls:Transparent Treatment of Remote Pointers , Kono et al., Distributed Computing System, 1994 Int l Conf., pp. 142 151.