Binding method and device for Java function and C function

A technology of Java classes and functions, applied in the field of binding methods and devices of Java functions and C functions, can solve problems such as complex operations, and achieve the effect of reducing complexity
CN107239265AActive Publication Date: 2017-10-10ADVANCED NEW TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
ADVANCED NEW TECH CO LTD
Publication Date
2017-10-10

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a binding method and device for a Java function and a C function. The method comprises the steps that a binding interface predefined for a target Java class is transmitted to a target C file based on citation, wherein the binding interface comprises description information of a target Java function in the target Java class; the binding interface is called from the target C file to acquire the description information of the target Java function; and a binding relation between the target Java function and the C function in the target C file is established based on the description information. Through the binding method and device, the complexity of binding the Java function and the C function can be lowered.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the communication field, in particular to a method and device for binding a Java function and a C function. Background technique

[0002] During the APP development process, if you want to call Java functions in the Javascript script, it usually involves the operation of establishing the binding relationship between the Java functions in the Java class of the APP and the C functions in the C files of the APP. However, at present, when establishing the binding relationship between Java functions and C functions, developers need to specify the Java functions and C functions that need to be bound, then modify the code of the C function, and register the corresponding relationship with the Java function in the C function to achieve Binding, the operation is more complicated. Contents of the invention

[0003] The application proposes a method for binding a Java function and a C function, the method comprising: [0004...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More