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

Better enum support, ObjectWrapper dependencies replaced by IObjectWrapper, SetWrapObjectHandler #603

Merged
merged 8 commits into from Mar 3, 2019

Conversation

steffen-liersch
Copy link
Contributor

This PR contains the following improvements:

  • Enum support implemented for uint, ulong and long
  • Dependencies to ObjectWrapper replaced by IObjectWrapper
  • New function for customized object wrapping: Options.SetWrapObjectHandler

@steffen-liersch
Copy link
Contributor Author

Because I've changed JsNumber.Create((int) value) by JsNumber.Create(System.Convert.ToInt32(value)) this PR adds support for all possible underlaying types for enums (e.g. byte).

Jint/Options.cs Outdated Show resolved Hide resolved
@sebastienros sebastienros merged commit 01dd580 into sebastienros:dev Mar 3, 2019
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.

None yet

3 participants