发明授权
US5809302A System and method for enabling pointers to be passed from computer
programs written using computer programming languages that do not
support pointers
失效
用于使指针从使用不支持指针的计算机编程语言编写的计算机程序传递的系统和方法
- 专利标题: System and method for enabling pointers to be passed from computer programs written using computer programming languages that do not support pointers
- 专利标题(中): 用于使指针从使用不支持指针的计算机编程语言编写的计算机程序传递的系统和方法
-
申请号: US521806申请日: 1995-08-31
-
公开(公告)号: US5809302A公开(公告)日: 1998-09-15
- 发明人: I-Shin Andy Wang , Frederick Thomas Sharp , Rita Shiao-yuan Wu , John Shek-Luen Ng , Kuo-Wei Hwang , David Y. Chen
- 申请人: I-Shin Andy Wang , Frederick Thomas Sharp , Rita Shiao-yuan Wu , John Shek-Luen Ng , Kuo-Wei Hwang , David Y. Chen
- 申请人地址: NY Armonk
- 专利权人: International Business Machines Corp.
- 当前专利权人: International Business Machines Corp.
- 当前专利权人地址: NY Armonk
- 主分类号: G06F9/46
- IPC分类号: G06F9/46 ; G06F9/44
摘要:
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.
公开/授权文献
- US5108482A N-phenylpyrrolidines 公开/授权日:1992-04-28
信息查询