3 مستودعات
Tools that parse native C headers to automatically produce Java JNI bindings with type conversions.
Distinct from Native Header Generators: Distinct from Native Header Generators: generates Java bindings from C headers, not C++ header files for Rust.
Explore 3 awesome GitHub repositories matching programming languages & runtimes · C Header-to-Java Binding Generators. Refine with filters or upvote what's useful.
SWIG is a tool that generates wrapper code to expose C and C++ libraries to a wide range of higher-level programming languages. It reads annotated C/C++ header files and produces language-specific bindings from a single interface definition, supporting languages such as Python, Java, Ruby, C#, Perl, and many others. The generated wrapper code is free from the project's GPL license, allowing users to distribute it under their own terms. The tool handles modern C++ features including templates, namespaces, smart pointers, and constructs up to C++20 through specialized parsing and code generatio
Produces Java Native Interface wrappers allowing Java applications to invoke C/C++ library routines.
LWJGL is a cross-platform library that provides Java bindings to native APIs for graphics, audio, compute, windowing, and input. It enables Java applications to access low-level hardware-accelerated capabilities such as OpenGL and Vulkan rendering, OpenAL 3D audio, OpenCL GPU compute, and GLFW windowing and input handling. Under the hood, LWJGL dynamically resolves native function pointers at runtime, loads platform-specific shared libraries, and uses generated JNI bindings to bridge Java and native code. It offers explicit memory management through direct buffer access and stack-allocated me
Ships a tool that parses C headers to auto-generate Java native bindings and JNI wrappers.
JavaCPP هو جسر JNI C++ وواجهة وظائف خارجية توفر مولد ربط، ومحمل مكتبة أصلية، ومدير ذاكرة أصلية. يقوم بأتمتة إنشاء أغلفة Java حول رؤوس C++ الأصلية والمكتبات المشتركة لتمكين التوافق بين اللغتين. يتميز المشروع بمولد ربط C++ يحلل ملفات الرأس لإنتاج كود الغراء والواجهات اللازمة لاستدعاء الوظائف الأصلية تلقائياً. يتضمن محمل مكتبة أصلية يحدد ويستخرج الملفات الثنائية الخاصة بالمنصة من مسار الفئة (classpath) إلى ذاكرة تخزين مؤقت محلية للتنفيذ في وقت التشغيل. يدير النظام الوصول إلى الذاكرة الأصلية عالية الأداء من خلال تعيين المؤشر المباشر وتتبع الموارد لمنع تسرب الذاكرة. يتعامل مع تعيين الأنواع المعقدة لهياكل بيانات C++ ويدعم تعيين رد الاتصال الأصلي لربط مؤشرات الوظائف بطرق Java. تسمح مجموعة الأدوات باستبدال الطرق المدارة بتنفيذات C++ أو التجميع لتحسين وقت التنفيذ وتقليل حمل الموارد.
Parses C++ header files to automatically generate Java wrapper classes and the corresponding JNI glue code.