version 1.81, 2011/04/14 10:32:59
|
version 1.84, 2011/04/20 08:26:04
|
Line 922 pid_t debug_fork();
|
Line 922 pid_t debug_fork();
|
# define d_ex_clef_inexistante __erreur(80) |
# define d_ex_clef_inexistante __erreur(80) |
# define d_ex_nom_implicite __erreur(81) |
# define d_ex_nom_implicite __erreur(81) |
# define d_ex_version_bibliotheque __erreur(82) |
# define d_ex_version_bibliotheque __erreur(82) |
|
# define d_ex_creation_variable_globale __erreur(83) |
#endif |
#endif |
|
|
|
|
Line 1693 typedef struct instruction
|
Line 1694 typedef struct instruction
|
#ifndef RPLARGS |
#ifndef RPLARGS |
typedef struct arbre_variables |
typedef struct arbre_variables |
{ |
{ |
|
unsigned int noeuds_utilises; |
struct arbre_variables **noeud; |
struct arbre_variables **noeud; |
struct_liste_chainee *l_variable; |
struct liste_variables *feuille; |
} struct_arbre_variables; |
} struct_arbre_variables; |
|
|
|
typedef struct liste_variables |
|
{ |
|
union |
|
{ |
|
struct_variable *variable; |
|
struct_liste_chainee *liste; |
|
}; |
|
|
|
struct liste_variables *suivant; |
|
struct liste_variables *precedent; |
|
} struct_liste_variables; |
|
|
#endif |
#endif |
|
|
/* |
/* |
Line 1807 typedef struct processus
|
Line 1822 typedef struct processus
|
|
|
/* Variables */ |
/* Variables */ |
|
|
|
// La liste des variables par niveau est doublement chaînée. |
|
// À tout moment, elle pointe sur le niveau le plus haut existant et |
|
// l_liste_variable_par_niveau->precedent renvoie la liste des |
|
// définitions. l_liste_variable_par_niveau->precedent->precedent pointe |
|
// sur la liste des variables globales. |
|
// |
|
// À l'initialisation : |
|
// l_liste_variables_par_niveau->suivant == l_liste_variables_par_niveau |
|
// l_liste_variables_par_niveau->precedent == l_liste_variables_par_niveau |
|
|
struct_arbre_variables *s_arbre_variables; |
struct_arbre_variables *s_arbre_variables; |
struct_liste_chainee *l_liste_variables_par_niveau; |
struct_liste_variables *l_liste_variables_par_niveau; |
|
|
|
struct_variable *pointeur_variable_courante; |
|
struct_liste_variables *pointeur_feuille_courante; |
|
|
int *pointeurs_caracteres_variables; |
int *pointeurs_caracteres_variables; |
int nombre_caracteres_variables; |
int nombre_caracteres_variables; |
Line 1822 typedef struct processus
|
Line 1850 typedef struct processus
|
|
|
unsigned long niveau_courant; |
unsigned long niveau_courant; |
unsigned long niveau_initial; |
unsigned long niveau_initial; |
struct_variable *pointeur_variable_courante; |
|
unsigned long position_variable_statique_courante; |
unsigned long position_variable_statique_courante; |
|
|
logical1 creation_variables_statiques; |
logical1 creation_variables_statiques; |
Line 2851 void liberation_maillon(struct_processus
|
Line 2878 void liberation_maillon(struct_processus
|
void liberation_allocateur(struct_processus *s_etat_processus); |
void liberation_allocateur(struct_processus *s_etat_processus); |
void liberation_arbre_instructions(struct_processus *s_etat_processus, |
void liberation_arbre_instructions(struct_processus *s_etat_processus, |
struct_instruction *arbre); |
struct_instruction *arbre); |
|
void liberation_arbre_variables(struct_processus *s_etat_processus, |
|
struct_arbre_variables *arbre, logical1 definitions); |
void liberation_generateur_aleatoire(struct_processus *s_etat_processus); |
void liberation_generateur_aleatoire(struct_processus *s_etat_processus); |
void liberation_threads(struct_processus *s_etat_processus); |
void liberation_threads(struct_processus *s_etat_processus); |
void liberation_profil(struct_processus *s_etat_processus); |
void liberation_profil(struct_processus *s_etat_processus); |