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

[Backport 6.1] Update GMT_IS_REFERENCE and GMT_IS_DUPLICATE to allow duplicating strings #3777

Merged
merged 1 commit into from
Jul 30, 2020

Conversation

github-actions[bot]
Copy link
Contributor

Backport 2e87fbf from #3718

…ings (#3718)

* Debug GMT_Put_Strings

* SHift GMT_IS_DUPLICATE,REFERENCE and allow for string duplication

GMT_Put_Strings only worked by reference.  Now, we can accept a family argument such as GMT_IS_VECTOR|GMT_IS_DUPLICATE (or GMT_IS_REFERENCE which is the default) and it will duplicate the array string if requested.

* Adjust these enums to allow future use in GMT_Put_Vector|Matrix

* Update gmt_enum_dict.h

* Possible clash with GMT_VIA_MODULE_INPUT

* Update gmt_enum_dict.h

* Update gmt_enum_dict.h and testapi_vector_strings2.c

* Update api.rst

* Update gmt_api.c

* Update gmt_api.c

* Add debug messages

* check for directory

* Update gmt_io.c

Co-authored-by: Paul Wessel <[email protected]>
@PaulWessel PaulWessel requested a review from seisman July 30, 2020 02:26
@seisman seisman merged commit 10042f9 into 6.1 Jul 30, 2020
@seisman seisman deleted the backport-3718-to-6.1 branch July 30, 2020 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant