golang/xenlight: begin Go to C type marshaling
authorNick Rosbrook <rosbrookn@gmail.com>
Sat, 4 Jan 2020 21:00:51 +0000 (16:00 -0500)
committerGeorge Dunlap <george.dunlap@citrix.com>
Thu, 16 Jan 2020 18:18:02 +0000 (18:18 +0000)
commit273971c9408bf608605697afd2feb8cdc47c4a35
treec37744726aaa75c9356154d143df3ce32d840ea5
parent1b4c0be707c524a28f020c584f541c667e6dc78f
golang/xenlight: begin Go to C type marshaling

Implement conversions for basic types such as strings and integer
types in toC functions.

Modify function signatures of toC implementations for builtin
types to be consistent with the signature of the generated toC
functions.

Signed-off-by: Nick Rosbrook <rosbrookn@ainfosec.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
tools/golang/xenlight/gengotypes.py
tools/golang/xenlight/helpers.gen.go
tools/golang/xenlight/xenlight.go