Skip to content

refactor: make real napi_env struct definition in C#195

Merged
toyobayashi merged 1 commit into
mainfrom
native-env
Jan 23, 2026
Merged

refactor: make real napi_env struct definition in C#195
toyobayashi merged 1 commit into
mainfrom
native-env

Conversation

@toyobayashi

Copy link
Copy Markdown
Owner

#192

  • Introduced emnapiEnv to replace emnapiCtx.getEnv(env) for environment access across various modules.
  • Updated memory management functions to utilize the new environment structure.
  • Enhanced error handling by integrating EnvNativeBridge for better management of last error states.
  • Refactored async work and function creation to streamline environment interactions.
  • Improved overall code consistency and readability by standardizing environment access patterns.

- Introduced `emnapiEnv` to replace `emnapiCtx.getEnv(env)` for environment access across various modules.
- Updated memory management functions to utilize the new environment structure.
- Enhanced error handling by integrating `EnvNativeBridge` for better management of last error states.
- Refactored async work and function creation to streamline environment interactions.
- Improved overall code consistency and readability by standardizing environment access patterns.
@toyobayashi toyobayashi merged commit bc1b184 into main Jan 23, 2026
5 checks passed
@toyobayashi toyobayashi deleted the native-env branch January 23, 2026 14:54
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.

1 participant