mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 10:31:34 -08:00
revisions
This commit is contained in:
parent
81e53f5eac
commit
0aed433b52
4 changed files with 7 additions and 8 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// all-in-one header to include in Qt plugin source files which want to call
|
||||
// ECL functions through 'ecl_fun()'
|
||||
//
|
||||
// does not depend on LQML
|
||||
// independent from the LQML lib -- can be used in any Qt app
|
||||
|
||||
#pragma once
|
||||
|
||||
|
|
@ -397,6 +397,9 @@ QVariant ecl_fun(const QByteArray& pkgFun,
|
|||
const QVariant& a14,
|
||||
const QVariant& a15,
|
||||
const QVariant& a16) {
|
||||
// N.B: always include the package name in ECL function calls from C++, like
|
||||
// 'ecl_fun("cl:format", ...);' to prevent useless error messages from ECL
|
||||
// like "the function NIL is undefined"
|
||||
void* symbol = lisp_functions.value(pkgFun);
|
||||
if (!symbol) {
|
||||
int p = pkgFun.indexOf(':');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue