Back to index

im-sdk  12.3.91
Functions
LE.cpp File Reference
#include <config.h>
#include <stdio.h>
#include <IMProtocolStruct.h>
#include "LE.hh"
#include "IMLock.hh"
#include "IMLog.hh"
#include "IMInputContext.hh"
#include "IMConnection.hh"
#include "IMDesktop.hh"

Go to the source code of this file.

Functions

iml_instiml_execute_iml_wrapper (iml_session_t *s, iml_inst **rrv)

Function Documentation

Definition at line 662 of file LE.cpp.

{
    IMLExec *pimlex = (IMLExec*) s->SessionContext;

#ifdef DEBUG
    {
       int op;
       iml_inst *pcur;

       for (pcur = *rrv; pcur != (iml_inst*)0; pcur = pcur->next) {
           op = pcur->opcode & ~IMM_CB_RESULT_REQUIRED;
           if (!pimlex)
              LOG_DEBUG("Missing IML inst. (%d)", op);
           else
              LOG_DEBUG("Issuing IML inst. (%d)", op);
       }
    }
#endif

    if (!pimlex) return NULL;
    return pimlex->push_insts(rrv);
}