/[ascend]/trunk/base/generic/compiler/notequery.c
ViewVC logotype

Diff of /trunk/base/generic/compiler/notequery.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1926 by jpye, Wed Oct 8 04:23:52 2008 UTC revision 1927 by jpye, Wed Oct 8 07:18:25 2008 UTC
# Line 22  Line 22 
22  #include "notequery.h"  #include "notequery.h"
23  #include "notate.h"  #include "notate.h"
24  #include "symtab.h"  #include "symtab.h"
 #include "cmpfunc.h"  
25  #include <utilities/error.h>  #include <utilities/error.h>
26    
27    struct gl_list_t *notes_get_refined(
28        symchar *dbid
29        ,const struct TypeDescription *t
30        ,symchar *lang
31        ,symchar *id
32        ,symchar *method
33    ){
34        struct gl_list_t *types = GetAncestorNames(t);
35    
36        CONSOLE_DEBUG("not implemented");
37        struct gl_list_t *res = gl_create(1);
38        return res;
39    }
40    
41    
42  const char *notes_get_for_variable(symchar *dbid  const char *notes_get_for_variable(symchar *dbid
43      , const struct TypeDescription *t      , const struct TypeDescription *t
44      , const symchar *varname      , const symchar *varname
45      , const symchar *notetype      , const symchar *lang
46  ){  ){
47      struct gl_list_t *noteslist;      struct gl_list_t *noteslist;
48    
# Line 67  const char *notes_get_for_variable(symch Line 81  const char *notes_get_for_variable(symch
81      return BraceCharString(GetNoteText(n));      return BraceCharString(GetNoteText(n));
82  }  }
83    
84  struct gl_list_t *notes_get_vars_with_notetype(  struct gl_list_t *notes_get_vars_with_lang(
85      symchar *dbid      symchar *dbid
86      , const struct TypeDescription *t      , const struct TypeDescription *t
87      , const symchar *notetype      , const symchar *lang
88  ){  ){
89      int i;      int i;
90      struct gl_list_t *noteslist;      struct gl_list_t *noteslist;
# Line 86  struct gl_list_t *notes_get_vars_with_no Line 100  struct gl_list_t *notes_get_vars_with_no
100      }      }
101  #endif  #endif
102    
103      /*CONSOLE_DEBUG("Looking for notes of type '%s'",SCP(notetype));*/      /*CONSOLE_DEBUG("Looking for notes of type '%s'",SCP(lang));*/
104      gl_append_ptr(langs,(VOIDPTR)notetype);      gl_append_ptr(langs,(VOIDPTR)lang);
105    
106      /* create a new list with our top-level type at the start */      /* create a new list with our top-level type at the start */
107      struct gl_list_t *typesall = gl_create(1 + gl_length(types));      struct gl_list_t *typesall = gl_create(1 + gl_length(types));

Legend:
Removed from v.1926  
changed lines
  Added in v.1927

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22