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

Refactoring: change PL_xxx(t.get_term_t(), ...) to t.xxx() #11

Open
kamahen opened this issue Jul 27, 2022 · 0 comments
Open

Refactoring: change PL_xxx(t.get_term_t(), ...) to t.xxx() #11

kamahen opened this issue Jul 27, 2022 · 0 comments
Assignees

Comments

@kamahen
Copy link
Collaborator

kamahen commented Jul 27, 2022

There are many instances of code like

PL_get_atom(opt[1].get_term_t(), &a)

that should be something like

a = opt[1].get_atom()

This will require some enhancements to SWI-cpp.h as well, plus some handling of thrown exceptions.

@kamahen kamahen self-assigned this Jul 27, 2022
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

No branches or pull requests

1 participant