This repository was archived by the owner on Nov 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Generate bindings from apidsl #135
Copy link
Copy link
Open
Description
This is the list of things that currently need manual maintenance to keep in sync with toxcore changes:
- C++ function call: friendlist.cpp
- C++ error code translation: ToxCore.cpp
- C++ debug printers: debug.cpp
- C++ callback wrappers: core.h
- C++ callback impls: lifecycle.cpp
- C++ callback registration: lifecycle.cpp
- C++ manual callback invoke functions: lifecycle.cpp
- Protobuf file for callbacks: Core.proto
- Interface: ToxCore.scala
- JNI class: ToxCoreJni.java
- Impl class: ToxCoreImpl.scala
- Callback dispatch function
- Calling the dispatch function in dispatchEvents
- Methods such as addFriend
- Exceptions: ToxFriendAddException.java
- Callbacks: FriendRequestCallback.scala
- Enums: ToxFileControl.java
Most, perhaps all of these things can be generated from the apidsl input file. If you would like to work on this, please contact @iphydf. Be prepared to write a short technical design document to discuss how each of these will be generated.
Not all of these things need to be generated at the same time. Each of the above tasks can be done separately.