File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,11 +100,16 @@ GPUARRAY_PUBLIC void gpucontext_props_del(gpucontext_props *p);
100100 *
101101 * \warning This function is not thread-safe.
102102 *
103+ * The passed-in properties pointer will be managed by this function
104+ * and needs not be freed. This means that you shouldn't touch the
105+ * properties object after passing it to this function.
106+ *
103107 * \param res a pointer to a location that will be allocated
104108 * \param name the backend name.
105109 * \param dev the device number. The precise meaning of the device
106110 * number is backend-dependent
107- * \param props a properties object for the context. Can be NULL for defaults.
111+ * \param props a properties object for the context. Can be NULL for
112+ * defaults.
108113 *
109114 * \returns GA_NO_ERROR or an error code if an error occurred.
110115 */
Original file line number Diff line number Diff line change 11# Used to generate the string tables to embed the cluda headers.
2+ # Usage: python head.py <file>
3+ # This will output <file>.c
24
35def wrt (f , n , b ):
46 f .write (b',' )
You can’t perform that action at this time.
0 commit comments