Dave Cunningham
c1825dc54d
Update to latest CPP version
2022-10-26 16:13:21 +01:00
mikehoyle
eac7db4471
c-bindings: Add jsonnet_realloc export
...
This adds the realloc function as an export in c-bindings.go so
that it is included in the generated header and can be used by
dependent libraries.
2022-10-21 17:55:35 +01:00
Hanyu Cui
63a452246d
Support different output streams than os.Stderr for std.trace (C API) ( #520 )
...
Support different output streams than os.Stderr for std.trace (C API)
2021-03-21 20:03:01 +01:00
Stanisław Barzowski
4f527c6f96
Add support for missing functions in C-bindings.
...
With this change we cover 100% of the C API.
2020-11-21 17:34:25 +01:00
Alexander Petrov
fc188d008d
issue-433 avoid keeping all the allocated handles forever by using map
...
and uintptr of the allocated object.
2020-08-01 10:55:42 +02:00
Alexander Petrov
db2bf1e024
issue-433 increase the number of constructed Jsonnet handles.
2020-08-01 10:55:42 +02:00
Alexander Petrov
acf0e5cfbf
Implemented jsonnet_import_callback c-binding ( #330 )
...
Implemented jsonnet_import_callback c-binding
2019-10-14 20:49:24 +02:00
Alexander Petrov
6e9943c99d
* Implemented jsonnet_native_callback
...
* Moved handles workflow to handles.go
* Replaced JsonnetJsonValue c++ implementation with go
* Added jsonnet_json_* integration tests
2019-10-06 21:20:15 +02:00
Steve Harris
886fcaca1d
Allow building the "c-bindings" program with Bazel
2019-06-15 01:34:11 +02:00
Stanisław Barzowski
eea884b12f
Minimal C bindings ( #257 )
...
* Minimal C bindings
* Fix version reporting in C bindings
* Apply suggestions about C bindings implementation
* Rename compat/ -> c-bindings/
* Add comment about indexing VMs in C bindings
2019-03-16 17:47:12 -04:00