Write C bindings for the tree builder #33

kmcallister opened this Issue Aug 28, 2014 · 3 comments


None yet

2 participants


No description provided.

@kmcallister kmcallister added lang:C and removed not-for-servo labels Oct 13, 2014

The TreeSink API is generic over a Handle to a node. In the C API this should be a wrapper around void *, which calls optional incref and decref callbacks on Clone and Drop respectively.

See hubbub's tree builder API as well.


Maybe expose the existing GC trace hooks to C code, as well? It's potentially useful for writing bindings to a GC'd language.


We removed the C API in #204 since it had been broken for a long time and no-one was maintaining it. If something related is to be added again, I’d rather see it evolve for a while outside this repository.

@SimonSapin SimonSapin closed this Mar 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment