Commit 45c8cddd authored by Kirill Smelkov's avatar Kirill Smelkov

libgolang: Provide top-level overview for interfaces

See commit 5a99b769 (libgolang: Start providing interfaces) for context.
parent 7f0672aa
...@@ -124,6 +124,17 @@ ...@@ -124,6 +124,17 @@
// } // }
// //
// //
// Interfaces
//
// C++-level API provides limited support for interfaces:
//
// - `interface` is empty interface a-la interface{} in Go.
// - `error` is the interface describing errors.
//
// There is no support for at-runtime interface construction for an object:
// a class must inherit from all interfaces that it wants to implement.
//
//
// C-level API // C-level API
// //
// - `_taskgo` spawns new task. // - `_taskgo` spawns new task.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment