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

Add support for 'const' and 'volatile' #780

Merged
merged 2 commits into from
Aug 10, 2024
Merged

Add support for 'const' and 'volatile' #780

merged 2 commits into from
Aug 10, 2024

Conversation

yallop
Copy link
Owner

@yallop yallop commented Aug 8, 2024

Add two new operations on types:

val const : 'a typ -> 'a typ
(** [const t] const-qualifies the type [t].  At present the only
    effect is that the type is marked 'const' in generated code. *)

val volatile : 'a typ -> 'a typ
(** [volatile t] volatile-qualifies the type [t].  At present the only
    effect is that the type is marked 'volatile' in generated code. *)

@yallop yallop merged commit 452c1d1 into master Aug 10, 2024
17 checks passed
@yallop yallop deleted the const branch August 10, 2024 12:33
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