-void note_end(_REC_END_PARAMS_)
-{
- Gom_ctxt ctxt = (Gom_ctxt)self;
-
- if (! ctxt)
- NO_CONTEXT;
- else {
- struct note *note = SAFE_CTXT_CAST(note, ctxt);
- if (note) {
- char *str = GEDCOM_STRING(parsed_value);
- char *newvalue = strdup(str);
- if (! newvalue)
- MEMORY_ERROR;
- else
- note->text = newvalue;
- }
- }
-}
-