-
Notifications
You must be signed in to change notification settings - Fork 14
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
ENHANCED: C++-compatible exception handling + more wrapper functions and classes #39
Closed
Commits on Apr 8, 2023
-
ENHANCED: C++-compatible exception handling + more wrapper functions …
…and classes SWI-cpp2-plx.h contains wrapper functions (imported from SWI-cpp2.h) - throw PlException for Prolog errors - most SWI-Prolog.h functions have a wrapper. verify() methods removed from PlAtom, PlTerm, etc. - the wrapper functions do the checking. Some executable code has been moved to SWI-cpp2.cpp - can be inlined, if desired. PlException is now a subclass of std::exception, not a subclass of PlTerm. PlTypeError, PlDomainError, etc. are no longer subclasses of PlTerm, but are functions for creating suitable PlException objects. The string comparison operators are deprecated; use as_string() and std::string comparison instead, which allows specifying the encoding. Added PlRecord, PlRecordExternal, PlControl (used by PREDICATE_NONDET), PlStream. Fixed numerous bugs and misfeatures; added tests.
Configuration menu - View commit details
-
Copy full SHA for c0791c3 - Browse repository at this point
Copy the full SHA c0791c3View commit details
Commits on Apr 9, 2023
-
ENHANCED: C++-compatible exception handling + more wrapper functions …
…and classes SWI-cpp2-plx.h contains wrapper functions (imported from SWI-cpp2.h) - throw PlException for Prolog errors - most SWI-Prolog.h functions have a wrapper. verify() methods removed from PlAtom, PlTerm, etc. - the wrapper functions do the checking. Some executable code has been moved to SWI-cpp2.cpp - can be inlined, if desired. PlException is now a subclass of std::exception, not a subclass of PlTerm. PlTypeError, PlDomainError, etc. are no longer subclasses of PlTerm, but are functions for creating suitable PlException objects. The string comparison operators are deprecated; use as_string() and std::string comparison instead, which allows specifying the encoding. Added PlRecord, PlRecordExternal, PlControl (used by PREDICATE_NONDET), PlStream. Fixed numerous bugs and misfeatures; added tests.
Configuration menu - View commit details
-
Copy full SHA for 3bff0f1 - Browse repository at this point
Copy the full SHA 3bff0f1View commit details -
Merge branch 'exceptions-cleaned' of github.com:kamahen/packages-cpp …
…into exceptions-cleaned
Configuration menu - View commit details
-
Copy full SHA for c502762 - Browse repository at this point
Copy the full SHA c502762View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2faadb3 - Browse repository at this point
Copy the full SHA 2faadb3View commit details
Commits on Apr 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3c6aaad - Browse repository at this point
Copy the full SHA 3c6aaadView commit details
Commits on Apr 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cbb3960 - Browse repository at this point
Copy the full SHA cbb3960View commit details
Commits on Apr 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e627e08 - Browse repository at this point
Copy the full SHA e627e08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38f1575 - Browse repository at this point
Copy the full SHA 38f1575View commit details
Commits on Apr 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 30a0b9f - Browse repository at this point
Copy the full SHA 30a0b9fView commit details
Commits on Apr 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d3f7d39 - Browse repository at this point
Copy the full SHA d3f7d39View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.