add MetaArg 'cl_object' to enable passing complex Lisp data to C++
This commit is contained in:
parent
44056e0853
commit
490c878dee
1 changed files with 4 additions and 0 deletions
|
|
@ -1267,6 +1267,10 @@ static MetaArg toMetaArg(const QByteArray& sType, cl_object l_arg) {
|
|||
_cstring_buffer_ << ba;
|
||||
const char** s = new const char*(ba.constData());
|
||||
p = s; }}
|
||||
else if("cl_object" == sType) {
|
||||
quintptr l = (quintptr)l_arg;
|
||||
void** v = new void*((void*)l);
|
||||
p = v; }
|
||||
else if(T_QFileInfo == n) p = new QFileInfo(toQFileInfo(l_arg));
|
||||
else if(T_QFileInfoList == n) p = new QFileInfoList(toQFileInfoList(l_arg));
|
||||
else if(T_QGradient == n) p = new QGradient(toQGradient(l_arg));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue