摘要 |
The present invention includes a method and apparatus that allows languages to send, receive and manipulate structures defined by other languages. Structurally, the present invention includes a preprocessor and a runtime library. The preprocessor accepts, as input, source code written in a high-level language, such as C or C++. The preprocessor produces, as output, a series of Java classes. Each Java class describes a structure defined in the input source code. Java programs use the descriptions produced by the preprocessor to send, receive and manipulate structures the structures defined in the input source code.
|