Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce symbols exported by librdfa #1

Open
msporny opened this issue Aug 10, 2011 · 1 comment
Open

Reduce symbols exported by librdfa #1

msporny opened this issue Aug 10, 2011 · 1 comment
Labels

Comments

@msporny
Copy link
Contributor

msporny commented Aug 10, 2011

librdfa currently exports the following symbols in the .so:

00005d88 T _fini
000014ec T _init
00004be6 T rdfa_add_item
00004798 T rdfa_canonicalize_string
00005731 T rdfa_complete_incomplete_triples
00005af8 T rdfa_complete_object_literal_triples
000058f9 T rdfa_complete_relrev_triples
0000585e T rdfa_complete_type_triples
000048f2 T rdfa_copy_list
00004d0b T rdfa_copy_mapping
00004fc8 T rdfa_create_bnode
0000397a T rdfa_create_context
0000489d T rdfa_create_list
00004cbb T rdfa_create_mapping
000052c8 T rdfa_create_triple
00005029 T rdfa_establish_new_subject
00005175 T rdfa_establish_new_subject_with_relrev
00003b0a T rdfa_free_context
00004ab0 T rdfa_free_list
00004f7c T rdfa_free_mapping
00005658 T rdfa_free_triple
000056c0 T rdfa_generate_namespace_triple
00004526 T rdfa_get_buffer
00004e41 T rdfa_get_mapping
00002470 T rdfa_init_context
00001a7c T rdfa_iri_get_base
00004658 T rdfa_join_string
000046e8 T rdfa_n_append_string
00004ea2 T rdfa_next_mapping
00004593 T rdfa_parse
0000453c T rdfa_parse_buffer
000043a7 T rdfa_parse_chunk
000044f5 T rdfa_parse_end
00003c41 T rdfa_parse_start
00004b60 T rdfa_pop_item
00004a36 T rdfa_print_list
00004ede T rdfa_print_mapping
000053db T rdfa_print_triple
00004b2f T rdfa_push_item
00004757 T rdfa_replace_string
00001e4c T rdfa_resolve_curie
00002229 T rdfa_resolve_curie_list
00002173 T rdfa_resolve_relrev_curie
00001bb8 T rdfa_resolve_uri
00005a2b T rdfa_save_incomplete_triples
00003c33 T rdfa_set_buffer_filler
00003c17 T rdfa_set_default_graph_triple_handler
00003c25 T rdfa_set_processor_graph_triple_handler
00002354 T rdfa_update_language
00004d8f T rdfa_update_mapping
000023b4 T rdfa_update_uri_mappings

Many of those should be static functions, internal to the library.

@msporny
Copy link
Contributor Author

msporny commented Aug 10, 2011

dajobe commented January 27, 2011

This is a good idea to prune down but it should match the API functions exported and prototyped in rdfa.h - you might want to automate checking that because it's hard to keep such lists in alignment.

msporny commented January 27, 2011

Agreed, I'll try to add a build step that verifies that the symbols exported are the same ones expressed in rdfa.h. Possibly via some awk/sed/grep magic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant