kupl_sgraph_destroy
Destroy a KUPL static graph.
Interface Definition
void kupl_sgraph_destroy(kupl_sgraph_h sgraph);
Parameters
Parameter |
Type |
Description |
Input/Output |
|---|---|---|---|
sgraph |
kupl_sgraph_h |
Static graph to be destroyed. |
Input |
Examples
1 2 3 4 5 6 7 8 9 | #include <stdio.h> #include "kupl.h" int main() { kupl_sgraph_h sgraph = kupl_sgraph_create(); kupl_sgraph_destroy(sgraph); return 0; } |
The preceding example demonstrates how to create and then destroy a static graph. The preceding kupl_sgraph_destroy function destroys the created static graph.
Parent topic: Computational Graph Programming Functions