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 |
|
|
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; |
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)); |