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

Update GMT_IS_REFERENCE and GMT_IS_DUPLICATE to allow duplicating strings #3718

Merged
merged 21 commits into from
Jul 30, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adjust these enums to allow future use in GMT_Put_Vector|Matrix
  • Loading branch information
PaulWessel committed Jul 27, 2020
commit cef7948868d2588c10e270fff9cca824a5d46fc4
4 changes: 2 additions & 2 deletions src/gmt_resources.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ enum GMT_enum_method {
GMT_IS_FILE = 0, /* Entity is a filename */
GMT_IS_STREAM = 1, /* Entity is an open stream */
GMT_IS_FDESC = 2, /* Entity is an open file descriptor */
GMT_IS_DUPLICATE = 8, /* Entity is a memory location that should be duplicated */
GMT_IS_REFERENCE = 16, /* Entity is a memory location that should be referenced */
GMT_IS_DUPLICATE = 32, /* Entity is a memory location that should be duplicated */
GMT_IS_REFERENCE = 64, /* Entity is a memory location that should be referenced */
GMT_IS_OUTPUT = 1024 /* When creating a resource as a container for output */
};

Expand Down