A method making nonlocal skip tool imitated into exception mechanism by C programming language
A non-native, C language technology, used in program control devices, program startup/switching, multi-programming devices, etc., can solve the problem of inability to effectively support error handling, slow development and maintenance of large-scale applications, and difficult to read programs. and other problems, to achieve the effect of easy modification and maintenance, optimization of development speed, and clear code structure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] The concrete implementation method that realizes the object of the present invention will be described in detail below, but the content of the present invention is not limited to this kind of approach, is not limited to this kind of macro definition, and those who use other implementation methods to realize the object of the present invention will also fall into the patent protection scope of the present invention within.
[0023] The non-local jump tool of C language used in the method of the present invention to simulate an exception mechanism includes setjmp and longjmp, which are used to simulate the try catch exception mechanism of a modern object-oriented language. setjmp and longjmp are basic jump tools, and are the basis of the simulation technology of the present invention. In the C language of the prior art, these two instructions of setjmp and longjmp only complete the jump function between lines, and cannot realize the abnormal flow mechanism processing.
...
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