GReturn GCALL GProgramDownloadFile | ( | GCon | g, |
GCStringIn | file_path, | ||
GCStringIn | preprocessor | ||
) |
Program download from file.
g | Connection's handle. |
file_path | Null-terminated string containing the path to the program file. |
preprocessor | Options string for preprocessing the program before sending it to the controller. See GProgramDownload(). |
See x_programs.cpp for an example.
Definition at line 387 of file gclibo.c.
References G_BAD_FILE, G_BAD_FULL_MEMORY, G_NO_ERROR, GProgramDownload(), and vector().
Referenced by x_programs().