summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-10-28 12:34:55 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-10-28 12:40:04 (GMT)
commit8b7dad6c1290c3c5f9ce35ea9d13a4b7e6398572 (patch)
tree8c9717f0a6437d544a5ca0153aa65f86fa487d2b /doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp
parentfee7ca62b6611f4a662fbb4541c83e280be08aba (diff)
downloadQt-8b7dad6c1290c3c5f9ce35ea9d13a4b7e6398572.zip
Qt-8b7dad6c1290c3c5f9ce35ea9d13a4b7e6398572.tar.gz
Qt-8b7dad6c1290c3c5f9ce35ea9d13a4b7e6398572.tar.bz2
Fix the license in files for Lighthouse
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp')
0 files changed, 0 insertions, 0 deletions
\n",pathname); } lib = shl_load(pathname, flags, 0); /* XXX Chuck Blake once wrote that 0 should be BIND_NOSTART? */ if (lib == NULL) { char buf[256]; PyObject *pathname_ob = NULL; PyObject *buf_ob = NULL; PyObject *shortname_ob = NULL; if (Py_VerboseFlag) perror(pathname); PyOS_snprintf(buf, sizeof(buf), "Failed to load %.200s", pathname); buf_ob = PyUnicode_FromString(buf); shortname_ob = PyUnicode_FromString(shortname); pathname_ob = PyUnicode_FromString(pathname); PyErr_SetImportError(buf_ob, shortname_ob, pathname_ob); Py_DECREF(buf_ob); Py_DECREF(shortname_ob); Py_DECREF(pathname_ob); return NULL; } PyOS_snprintf(funcname, sizeof(funcname), FUNCNAME_PATTERN, prefix, shortname); if (Py_VerboseFlag) printf("shl_findsym %s\n", funcname); if (shl_findsym(&lib, funcname, TYPE_UNDEFINED, (void *) &p) == -1) { shl_unload(lib); p = NULL; } if (p == NULL && Py_VerboseFlag) perror(funcname); return p; }