Commit 3f9d50b52687f4881ca1e523d86614a3405a21b1

Authored by Jay Berkenbilt
1 parent 245ca280

Change name of formal parameters from data to qpdf

Showing 1 changed file with 63 additions and 63 deletions
include/qpdf/qpdf-c.h
... ... @@ -604,9 +604,9 @@ extern "C" {
604 604 * equivalent in the C++ API.
605 605 */
606 606 QPDF_DLL
607   - void qpdf_oh_release(qpdf_data data, qpdf_oh oh);
  607 + void qpdf_oh_release(qpdf_data qpdf, qpdf_oh oh);
608 608 QPDF_DLL
609   - void qpdf_oh_release_all(qpdf_data data);
  609 + void qpdf_oh_release_all(qpdf_data qpdf);
610 610  
611 611 /* Clone an object handle */
612 612 QPDF_DLL
... ... @@ -614,9 +614,9 @@ extern "C" {
614 614  
615 615 /* Get trailer and root objects */
616 616 QPDF_DLL
617   - qpdf_oh qpdf_get_trailer(qpdf_data data);
  617 + qpdf_oh qpdf_get_trailer(qpdf_data qpdf);
618 618 QPDF_DLL
619   - qpdf_oh qpdf_get_root(qpdf_data data);
  619 + qpdf_oh qpdf_get_root(qpdf_data qpdf);
620 620  
621 621 /* Retrieve and replace indirect objects */
622 622 QPDF_DLL
... ... @@ -634,80 +634,80 @@ extern "C" {
634 634 */
635 635  
636 636 QPDF_DLL
637   - QPDF_BOOL qpdf_oh_is_initialized(qpdf_data data, qpdf_oh oh);
  637 + QPDF_BOOL qpdf_oh_is_initialized(qpdf_data qpdf, qpdf_oh oh);
638 638 QPDF_DLL
639   - QPDF_BOOL qpdf_oh_is_bool(qpdf_data data, qpdf_oh oh);
  639 + QPDF_BOOL qpdf_oh_is_bool(qpdf_data qpdf, qpdf_oh oh);
640 640 QPDF_DLL
641   - QPDF_BOOL qpdf_oh_is_null(qpdf_data data, qpdf_oh oh);
  641 + QPDF_BOOL qpdf_oh_is_null(qpdf_data qpdf, qpdf_oh oh);
642 642 QPDF_DLL
643   - QPDF_BOOL qpdf_oh_is_integer(qpdf_data data, qpdf_oh oh);
  643 + QPDF_BOOL qpdf_oh_is_integer(qpdf_data qpdf, qpdf_oh oh);
644 644 QPDF_DLL
645   - QPDF_BOOL qpdf_oh_is_real(qpdf_data data, qpdf_oh oh);
  645 + QPDF_BOOL qpdf_oh_is_real(qpdf_data qpdf, qpdf_oh oh);
646 646 QPDF_DLL
647   - QPDF_BOOL qpdf_oh_is_name(qpdf_data data, qpdf_oh oh);
  647 + QPDF_BOOL qpdf_oh_is_name(qpdf_data qpdf, qpdf_oh oh);
648 648 QPDF_DLL
649   - QPDF_BOOL qpdf_oh_is_string(qpdf_data data, qpdf_oh oh);
  649 + QPDF_BOOL qpdf_oh_is_string(qpdf_data qpdf, qpdf_oh oh);
650 650 QPDF_DLL
651   - QPDF_BOOL qpdf_oh_is_operator(qpdf_data data, qpdf_oh oh);
  651 + QPDF_BOOL qpdf_oh_is_operator(qpdf_data qpdf, qpdf_oh oh);
652 652 QPDF_DLL
653   - QPDF_BOOL qpdf_oh_is_inline_image(qpdf_data data, qpdf_oh oh);
  653 + QPDF_BOOL qpdf_oh_is_inline_image(qpdf_data qpdf, qpdf_oh oh);
654 654 QPDF_DLL
655   - QPDF_BOOL qpdf_oh_is_array(qpdf_data data, qpdf_oh oh);
  655 + QPDF_BOOL qpdf_oh_is_array(qpdf_data qpdf, qpdf_oh oh);
656 656 QPDF_DLL
657   - QPDF_BOOL qpdf_oh_is_dictionary(qpdf_data data, qpdf_oh oh);
  657 + QPDF_BOOL qpdf_oh_is_dictionary(qpdf_data qpdf, qpdf_oh oh);
658 658 QPDF_DLL
659   - QPDF_BOOL qpdf_oh_is_stream(qpdf_data data, qpdf_oh oh);
  659 + QPDF_BOOL qpdf_oh_is_stream(qpdf_data qpdf, qpdf_oh oh);
660 660 QPDF_DLL
661   - QPDF_BOOL qpdf_oh_is_indirect(qpdf_data data, qpdf_oh oh);
  661 + QPDF_BOOL qpdf_oh_is_indirect(qpdf_data qpdf, qpdf_oh oh);
662 662 QPDF_DLL
663   - QPDF_BOOL qpdf_oh_is_scalar(qpdf_data data, qpdf_oh oh);
  663 + QPDF_BOOL qpdf_oh_is_scalar(qpdf_data qpdf, qpdf_oh oh);
664 664  
665 665 QPDF_DLL
666   - qpdf_oh qpdf_oh_wrap_in_array(qpdf_data data, qpdf_oh oh);
  666 + qpdf_oh qpdf_oh_wrap_in_array(qpdf_data qpdf, qpdf_oh oh);
667 667  
668 668 QPDF_DLL
669   - qpdf_oh qpdf_oh_parse(qpdf_data data, char const* object_str);
  669 + qpdf_oh qpdf_oh_parse(qpdf_data qpdf, char const* object_str);
670 670  
671 671 QPDF_DLL
672   - QPDF_BOOL qpdf_oh_get_bool_value(qpdf_data data, qpdf_oh oh);
  672 + QPDF_BOOL qpdf_oh_get_bool_value(qpdf_data qpdf, qpdf_oh oh);
673 673  
674 674 QPDF_DLL
675   - long long qpdf_oh_get_int_value(qpdf_data data, qpdf_oh oh);
  675 + long long qpdf_oh_get_int_value(qpdf_data qpdf, qpdf_oh oh);
676 676 QPDF_DLL
677   - int qpdf_oh_get_int_value_as_int(qpdf_data data, qpdf_oh oh);
  677 + int qpdf_oh_get_int_value_as_int(qpdf_data qpdf, qpdf_oh oh);
678 678 QPDF_DLL
679   - unsigned long long qpdf_oh_get_uint_value(qpdf_data data, qpdf_oh oh);
  679 + unsigned long long qpdf_oh_get_uint_value(qpdf_data qpdf, qpdf_oh oh);
680 680 QPDF_DLL
681   - unsigned int qpdf_oh_get_uint_value_as_uint(qpdf_data data, qpdf_oh oh);
  681 + unsigned int qpdf_oh_get_uint_value_as_uint(qpdf_data qpdf, qpdf_oh oh);
682 682  
683 683 QPDF_DLL
684   - char const* qpdf_oh_get_real_value(qpdf_data data, qpdf_oh oh);
  684 + char const* qpdf_oh_get_real_value(qpdf_data qpdf, qpdf_oh oh);
685 685  
686 686 QPDF_DLL
687   - QPDF_BOOL qpdf_oh_is_number(qpdf_data data, qpdf_oh oh);
  687 + QPDF_BOOL qpdf_oh_is_number(qpdf_data qpdf, qpdf_oh oh);
688 688 QPDF_DLL
689   - double qpdf_oh_get_numeric_value(qpdf_data data, qpdf_oh oh);
  689 + double qpdf_oh_get_numeric_value(qpdf_data qpdf, qpdf_oh oh);
690 690  
691 691 QPDF_DLL
692   - char const* qpdf_oh_get_name(qpdf_data data, qpdf_oh oh);
  692 + char const* qpdf_oh_get_name(qpdf_data qpdf, qpdf_oh oh);
693 693  
694 694 QPDF_DLL
695   - char const* qpdf_oh_get_string_value(qpdf_data data, qpdf_oh oh);
  695 + char const* qpdf_oh_get_string_value(qpdf_data qpdf, qpdf_oh oh);
696 696 QPDF_DLL
697   - char const* qpdf_oh_get_utf8_value(qpdf_data data, qpdf_oh oh);
  697 + char const* qpdf_oh_get_utf8_value(qpdf_data qpdf, qpdf_oh oh);
698 698  
699 699 QPDF_DLL
700   - int qpdf_oh_get_array_n_items(qpdf_data data, qpdf_oh oh);
  700 + int qpdf_oh_get_array_n_items(qpdf_data qpdf, qpdf_oh oh);
701 701 QPDF_DLL
702   - qpdf_oh qpdf_oh_get_array_item(qpdf_data data, qpdf_oh oh, int n);
  702 + qpdf_oh qpdf_oh_get_array_item(qpdf_data qpdf, qpdf_oh oh, int n);
703 703  
704 704 /* "C"-specific dictionary key iteration */
705 705  
706 706 /* Iteration is allowed on only one dictionary at a time. */
707 707 QPDF_DLL
708   - void qpdf_oh_begin_dict_key_iter(qpdf_data data, qpdf_oh dict);
  708 + void qpdf_oh_begin_dict_key_iter(qpdf_data qpdf, qpdf_oh dict);
709 709 QPDF_DLL
710   - QPDF_BOOL qpdf_oh_dict_more_keys(qpdf_data data);
  710 + QPDF_BOOL qpdf_oh_dict_more_keys(qpdf_data qpdf);
711 711 /* The memory returned by qpdf_oh_dict_next_key is owned by
712 712 * qpdf_data. It is good until the next call to
713 713 * qpdf_oh_dict_next_key with the same qpdf_data object. Calling
... ... @@ -715,79 +715,79 @@ extern "C" {
715 715 * previous return values.
716 716 */
717 717 QPDF_DLL
718   - char const* qpdf_oh_dict_next_key(qpdf_data data);
  718 + char const* qpdf_oh_dict_next_key(qpdf_data qpdf);
719 719  
720 720 /* end "C"-specific dictionary key iteration */
721 721  
722 722 QPDF_DLL
723   - QPDF_BOOL qpdf_oh_has_key(qpdf_data data, qpdf_oh oh, char const* key);
  723 + QPDF_BOOL qpdf_oh_has_key(qpdf_data qpdf, qpdf_oh oh, char const* key);
724 724 QPDF_DLL
725   - qpdf_oh qpdf_oh_get_key(qpdf_data data, qpdf_oh oh, char const* key);
  725 + qpdf_oh qpdf_oh_get_key(qpdf_data qpdf, qpdf_oh oh, char const* key);
726 726  
727 727 QPDF_DLL
728 728 QPDF_BOOL qpdf_oh_is_or_has_name(
729   - qpdf_data data, qpdf_oh oh, char const* key);
  729 + qpdf_data qpdf, qpdf_oh oh, char const* key);
730 730  
731 731 QPDF_DLL
732 732 qpdf_oh qpdf_oh_new_uninitialized(qpdf_data qpdf);
733 733 QPDF_DLL
734   - qpdf_oh qpdf_oh_new_null(qpdf_data data);
  734 + qpdf_oh qpdf_oh_new_null(qpdf_data qpdf);
735 735 QPDF_DLL
736   - qpdf_oh qpdf_oh_new_bool(qpdf_data data, QPDF_BOOL value);
  736 + qpdf_oh qpdf_oh_new_bool(qpdf_data qpdf, QPDF_BOOL value);
737 737 QPDF_DLL
738   - qpdf_oh qpdf_oh_new_integer(qpdf_data data, long long value);
  738 + qpdf_oh qpdf_oh_new_integer(qpdf_data qpdf, long long value);
739 739 QPDF_DLL
740   - qpdf_oh qpdf_oh_new_real_from_string(qpdf_data data, char const* value);
  740 + qpdf_oh qpdf_oh_new_real_from_string(qpdf_data qpdf, char const* value);
741 741 QPDF_DLL
742   - qpdf_oh qpdf_oh_new_real_from_double(qpdf_data data,
  742 + qpdf_oh qpdf_oh_new_real_from_double(qpdf_data qpdf,
743 743 double value, int decimal_places);
744 744 QPDF_DLL
745   - qpdf_oh qpdf_oh_new_name(qpdf_data data, char const* name);
  745 + qpdf_oh qpdf_oh_new_name(qpdf_data qpdf, char const* name);
746 746 QPDF_DLL
747   - qpdf_oh qpdf_oh_new_string(qpdf_data data, char const* str);
  747 + qpdf_oh qpdf_oh_new_string(qpdf_data qpdf, char const* str);
748 748 QPDF_DLL
749   - qpdf_oh qpdf_oh_new_unicode_string(qpdf_data data, char const* utf8_str);
  749 + qpdf_oh qpdf_oh_new_unicode_string(qpdf_data qpdf, char const* utf8_str);
750 750 QPDF_DLL
751   - qpdf_oh qpdf_oh_new_array(qpdf_data data);
  751 + qpdf_oh qpdf_oh_new_array(qpdf_data qpdf);
752 752 QPDF_DLL
753   - qpdf_oh qpdf_oh_new_dictionary(qpdf_data data);
  753 + qpdf_oh qpdf_oh_new_dictionary(qpdf_data qpdf);
754 754  
755 755 QPDF_DLL
756   - void qpdf_oh_make_direct(qpdf_data data, qpdf_oh oh);
  756 + void qpdf_oh_make_direct(qpdf_data qpdf, qpdf_oh oh);
757 757  
758 758 QPDF_DLL
759   - void qpdf_oh_set_array_item(qpdf_data data, qpdf_oh oh,
  759 + void qpdf_oh_set_array_item(qpdf_data qpdf, qpdf_oh oh,
760 760 int at, qpdf_oh item);
761 761 QPDF_DLL
762   - void qpdf_oh_insert_item(qpdf_data data, qpdf_oh oh, int at, qpdf_oh item);
  762 + void qpdf_oh_insert_item(qpdf_data qpdf, qpdf_oh oh, int at, qpdf_oh item);
763 763 QPDF_DLL
764   - void qpdf_oh_append_item(qpdf_data data, qpdf_oh oh, qpdf_oh item);
  764 + void qpdf_oh_append_item(qpdf_data qpdf, qpdf_oh oh, qpdf_oh item);
765 765 QPDF_DLL
766   - void qpdf_oh_erase_item(qpdf_data data, qpdf_oh oh, int at);
  766 + void qpdf_oh_erase_item(qpdf_data qpdf, qpdf_oh oh, int at);
767 767  
768 768 QPDF_DLL
769   - void qpdf_oh_replace_key(qpdf_data data, qpdf_oh oh,
  769 + void qpdf_oh_replace_key(qpdf_data qpdf, qpdf_oh oh,
770 770 char const* key, qpdf_oh item);
771 771 QPDF_DLL
772   - void qpdf_oh_remove_key(qpdf_data data, qpdf_oh oh, char const* key);
  772 + void qpdf_oh_remove_key(qpdf_data qpdf, qpdf_oh oh, char const* key);
773 773 QPDF_DLL
774   - void qpdf_oh_replace_or_remove_key(qpdf_data data, qpdf_oh oh,
  774 + void qpdf_oh_replace_or_remove_key(qpdf_data qpdf, qpdf_oh oh,
775 775 char const* key, qpdf_oh item);
776 776  
777 777 QPDF_DLL
778   - qpdf_oh qpdf_oh_get_dict(qpdf_data data, qpdf_oh oh);
  778 + qpdf_oh qpdf_oh_get_dict(qpdf_data qpdf, qpdf_oh oh);
779 779  
780 780 QPDF_DLL
781   - int qpdf_oh_get_object_id(qpdf_data data, qpdf_oh oh);
  781 + int qpdf_oh_get_object_id(qpdf_data qpdf, qpdf_oh oh);
782 782 QPDF_DLL
783   - int qpdf_oh_get_generation(qpdf_data data, qpdf_oh oh);
  783 + int qpdf_oh_get_generation(qpdf_data qpdf, qpdf_oh oh);
784 784  
785 785 QPDF_DLL
786   - char const* qpdf_oh_unparse(qpdf_data data, qpdf_oh oh);
  786 + char const* qpdf_oh_unparse(qpdf_data qpdf, qpdf_oh oh);
787 787 QPDF_DLL
788   - char const* qpdf_oh_unparse_resolved(qpdf_data data, qpdf_oh oh);
  788 + char const* qpdf_oh_unparse_resolved(qpdf_data qpdf, qpdf_oh oh);
789 789 QPDF_DLL
790   - char const* qpdf_oh_unparse_binary(qpdf_data data, qpdf_oh oh);
  790 + char const* qpdf_oh_unparse_binary(qpdf_data qpdf, qpdf_oh oh);
791 791 #ifdef __cplusplus
792 792 }
793 793 #endif
... ...