dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New test program.
[gedcom-parse.git]
/
gom
/
source.c
diff --git
a/gom/source.c
b/gom/source.c
index 34a7c9eeda711e7f8592d6331efb2c12e7d4f8c3..edf53eddaa1edad01736f18d2aa179a9481529e2 100644
(file)
--- a/
gom/source.c
+++ b/
gom/source.c
@@
-91,7
+91,7
@@
void source_add_description(Gom_ctxt ctxt, struct source_description* desc)
LINK_CHAIN_ELT(source_description, sour->repository.description, desc);
}
LINK_CHAIN_ELT(source_description, sour->repository.description, desc);
}
-void source_add_to_value(NL_TYPE type, Gom_ctxt ctxt, char* str)
+void source_add_to_value(NL_TYPE type, Gom_ctxt ctxt, c
onst c
har* str)
{
struct source *sour = SAFE_CTXT_CAST(source, ctxt);
if (sour) {
{
struct source *sour = SAFE_CTXT_CAST(source, ctxt);
if (sour) {
@@
-152,7
+152,7
@@
void source_add_user_ref(Gom_ctxt ctxt, struct user_ref_number* ref)
LINK_CHAIN_ELT(user_ref_number, sour->ref, ref);
}
LINK_CHAIN_ELT(user_ref_number, sour->ref, ref);
}
-void source_set_record_id(Gom_ctxt ctxt, char *rin)
+void source_set_record_id(Gom_ctxt ctxt, c
onst c
har *rin)
{
struct source *sour = SAFE_CTXT_CAST(source, ctxt);
if (sour) {
{
struct source *sour = SAFE_CTXT_CAST(source, ctxt);
if (sour) {
@@
-209,7
+209,7
@@
struct source* gom_get_first_source()
return gom_first_source;
}
return gom_first_source;
}
-struct source* make_source_record(char* xrefstr)
+struct source* make_source_record(c
onst c
har* xrefstr)
{
struct source* src = NULL;
MAKE_CHAIN_ELT(source, gom_first_source, src);
{
struct source* src = NULL;
MAKE_CHAIN_ELT(source, gom_first_source, src);