JNI-based calling method for JAVA function in C++
A function call and function technology, applied in the field of cross-language function call, can solve the problems of increased workload and code maintenance, increased error probability, etc., and achieve the effect of saving labor costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0017] The objects, advantages and features of the present invention will be explained by the following non-limiting description of preferred embodiments. These embodiments are only typical examples of applying the technical solutions of the present invention, and all technical solutions formed by adopting equivalent replacements or equivalent transformations fall within the protection scope of the present invention.
[0018] The JAVA function calling method in the JNI-based C++ of the present invention is described in detail below,
[0019] First, in step ①. Realize the compile-time string value literal object through the C++ variable parameter template feature. In this step, a C++ template is used to realize template recursion and specialization, and a string literal value object storing a JNI data type signature is generated.
[0020] In step ②. Specialize the mapping relationship and conversion function from C++ data types to JNI data through C++ template metaprogramming....
PUM

Abstract
Description
Claims
Application Information

- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com