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

Fix typos, add an xref #1202

Closed
wants to merge 1 commit into from
Closed

Conversation

kamahen
Copy link
Member

@kamahen kamahen commented Oct 22, 2023

No description provided.

@JanWielemaker
Copy link
Member

Thanks. Removed hint at PL_get_compound_name_arity(t,NULL,NULL). It is not true (it is the same as PL_is_compound(); PL_is_functor() checks that a terms is compound and has a particular functor) and I find it mostly confusing. PL_get_size_ex() reference to PL_get_intptr() is a bit dubious. Probably there should be a PL_get_size(), although I don't think there are any sensible cases for using it as you almost always want the type and domain check. The C standard does not guarantee size_t and uintptr_t to be the same (although they are on almost all platforms).

@kamahen kamahen deleted the name_arity branch October 23, 2023 16:36
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.

2 participants