2019-07-31 11:54:48 +00:00
|
|
|
This folder contains an experimental C wrapper for using parts of the Nimbus
|
|
|
|
code from C/Go in the Status console client:
|
|
|
|
|
|
|
|
https://github.com/status-im/status-console-client/
|
|
|
|
|
|
|
|
It serves mainly as a proof-of-concept for now - there are several unresolved
|
|
|
|
issues surrounding threading, inter-language communication, callbacks etc.
|
|
|
|
|
2019-08-01 00:44:27 +00:00
|
|
|
To build the wrappers and the example programs, run from the top level directory:
|
2019-07-31 11:54:48 +00:00
|
|
|
|
|
|
|
```bash
|
|
|
|
make wrappers
|
|
|
|
```
|
|
|
|
|
2019-08-01 00:44:27 +00:00
|
|
|
Now you can run the example programs:
|
2019-07-31 11:54:48 +00:00
|
|
|
|
|
|
|
```bash
|
2019-08-01 00:44:27 +00:00
|
|
|
build/C_wrapper_example
|
|
|
|
build/go_wrapper_example
|
2019-07-31 11:54:48 +00:00
|
|
|
```
|
|
|
|
|
2019-08-01 11:14:00 +00:00
|
|
|
To build statically linked versions:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make wrappers-static
|
|
|
|
```
|
|
|
|
|