https://github.com/multi-os-engine/moe-binding-clang
Multi-OS Engine: Java Bindings for libclang
https://github.com/multi-os-engine/moe-binding-clang
Last synced: about 1 year ago
JSON representation
Multi-OS Engine: Java Bindings for libclang
- Host: GitHub
- URL: https://github.com/multi-os-engine/moe-binding-clang
- Owner: multi-os-engine
- Created: 2016-08-09T17:43:59.000Z (almost 10 years ago)
- Default Branch: moe-master
- Last Pushed: 2023-06-27T21:42:06.000Z (almost 3 years ago)
- Last Synced: 2025-04-10T00:51:48.461Z (about 1 year ago)
- Language: C
- Homepage: https://multi-os-engine.org
- Size: 1.79 MB
- Stars: 2
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Multi-OS Engine Bindings for Clang
This library contains bindings for [clang](https://github.com/multi-os-engine/clang).
## Updating Bindings
This step requires you to check out the complete Multi-OS Engine repository and for safest operation, have a local built SDK.
You can find more info on checking out and building the repository [here](https://github.com/multi-os-engine/multi-os-engine).
If the above preparations are done, you can open Terminal and run:
```bash
cd /moe/tools/moe.sdk.publisher/build/dev-sdk/tools/
java -cp /moe/tools/moe.generator.natjgen/build/libs/moe.generator.natjgen.jar \
org.moe.natjgen.Main \
/moe/tools \
moe.binding.clang \
/moe/tools/moe.binding.clang/binding.natjgen
```
Before commiting changes, it is recommended that code formatting is applied. This project uses the same formatting rules/options as [moe-core's iOS bindings](https://github.com/multi-os-engine/moe-core/blob/master/moe.apple/moe.platform.ios/UPDATE_IOS_BINDING.md).
# Update std Headers
After updating clang, replace all files in `./src/main/resources/org/clang/util`
with the latest versions from `${repo_root}/prebuilts/llvm/macos/lib/clang/${clang_version}/include`,
then run the `update_std_headers.py` to update the header list.