File:  [local] / rpl / modules / motif / callbacks.rplc
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Jul 10 07:25:24 2017 UTC (6 years, 11 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Patches pour motif.

    1: #include "src/rplexternals.h"
    2: #include "motif.h"
    3: 
    4: void
    5: rplCallback(Widget x_objet, XtPointer argument, XtPointer call)
    6: {
    7:     declareObject(list);
    8: 
    9:     list = argument;
   10:     // argument = { rpl_arguments callback }
   11: 
   12:     pthread_mutex_lock(&callbackMutex);
   13: 
   14:     evaluation((*((struct_liste_chainee *) (*list).objet)).donnee,
   15:             (*(*((struct_liste_chainee *) (*list).objet)).suivant).donnee, 'E');
   16: 
   17:     pthread_mutex_unlock(&callbackMutex);
   18:     return;
   19: }
   20: 
   21: // vim: ts=4

CVSweb interface <joel.bertrand@systella.fr>