version 1.81, 2011/04/14 10:32:59
|
version 1.89, 2011/06/17 07:55:59
|
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 1679 typedef struct rpl_arguments
|
Line 1680 typedef struct rpl_arguments
|
#ifndef RPLARGS |
#ifndef RPLARGS |
typedef struct instruction |
typedef struct instruction |
{ |
{ |
struct instruction **noeud; |
struct instruction **noeuds; |
void (*feuille)(struct processus *); |
void (*feuille)(struct processus *); |
} struct_instruction; |
} struct_instruction; |
#endif |
#endif |
Line 1693 typedef struct instruction
|
Line 1694 typedef struct instruction
|
#ifndef RPLARGS |
#ifndef RPLARGS |
typedef struct arbre_variables |
typedef struct arbre_variables |
{ |
{ |
struct arbre_variables **noeud; |
unsigned int noeuds_utilises; |
struct_liste_chainee *l_variable; |
signed int indice_tableau_pere; |
|
struct arbre_variables *noeud_pere; |
|
struct arbre_variables **noeuds; |
|
struct liste_variables *feuille; |
} struct_arbre_variables; |
} struct_arbre_variables; |
|
|
|
typedef struct liste_variables |
|
{ |
|
union |
|
{ |
|
// Utilisation dans la gestion des variables |
|
struct_variable *variable; |
|
// Utilisation dans la pile système (variables par niveau) |
|
struct_liste_chainee *liste; |
|
}; |
|
|
|
struct arbre_variables *noeud_pere; |
|
struct liste_variables *suivant; |
|
struct liste_variables *precedent; |
|
} struct_liste_variables; |
|
|
#endif |
#endif |
|
|
/* |
/* |
Line 1807 typedef struct processus
|
Line 1827 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 1855 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 2883 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); |
Line 3082 logical1 ecriture_pipe(struct_processus
|
Line 3116 logical1 ecriture_pipe(struct_processus
|
struct_objet *s_objet); |
struct_objet *s_objet); |
logical1 recherche_variable(struct_processus *s_etat_processus, |
logical1 recherche_variable(struct_processus *s_etat_processus, |
unsigned char *nom_variable); |
unsigned char *nom_variable); |
|
logical1 recherche_variable_globale(struct_processus *s_etat_processus, |
|
unsigned char *nom_variable); |
logical1 recherche_variable_partagee(struct_processus *s_etat_processus, |
logical1 recherche_variable_partagee(struct_processus *s_etat_processus, |
unsigned char *nom_variable, union_position_variable position, |
unsigned char *nom_variable, union_position_variable position, |
unsigned char origine); |
unsigned char origine); |