Paste number 138049: | Code for http://stackoverflow.com/questions/17582216/lisp-cffi-let-and-memory |
Pasted by: | dmitry_vk |
When: | 11 years, 7 months ago |
Share: | Tweet this! | http://paste.lisp.org/+2YIP |
Channel: | None |
Paste contents: |
extern "C" QApplication* create_application()
{
int c = 1;
//char* v[1] = {(char*) "qapp"};
char **v = new char*[2];
v[0] = strdup("qapp");
v[1] = NULL;
QApplication* ret = new QApplication(c, v);
return ret;
}
This paste has no annotations.