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

remove the #[repr(C) attributions #418

Merged
merged 1 commit into from
Jul 18, 2019
Merged

remove the #[repr(C) attributions #418

merged 1 commit into from
Jul 18, 2019

Conversation

kinggoesgaming
Copy link
Member

I'm submitting a(n) (bug fix|deprecation|feature|refactor|removal|other)

Description

Remove the #[repr(C)] for Variant and Version.

Motivation

These were added because uncertainty on whether the
C interface will be directly provided in the crate itself.
Since then I have resolved to use uuid-rs/xuuid.c instead.

Tests

No test changes are needed

Related Issue(s)

N/A

These were added because uncertainty on whether the
C interface will be directly provided in the crate itself.
Since then I have resolved to use uuid-rs/xuuid.c instead.

Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
@Dylan-DPC-zz
Copy link
Member

bors: r+

bors bot added a commit that referenced this pull request Jul 18, 2019
418: remove the #[repr(C) attributions r=Dylan-DPC a=kinggoesgaming

**I'm submitting a(n)** (bug fix|deprecation|feature|refactor|removal|other)

# Description
Remove the `#[repr(C)]` for `Variant` and `Version`.

# Motivation
These were added because uncertainty on whether the
C interface will be directly provided in the crate itself.
Since then I have resolved to use uuid-rs/xuuid.c instead.

# Tests
No test changes are needed

# Related Issue(s)
N/A

Co-authored-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
@bors
Copy link
Contributor

bors bot commented Jul 18, 2019

@bors bors bot merged commit 889ec20 into master Jul 18, 2019
@delete-merged-branch delete-merged-branch bot deleted the no-c-repc branch July 18, 2019 09:05
bors bot added a commit that referenced this pull request Oct 17, 2019
433: Prepare for 0.8.0 release r=Dylan-DPC a=KodrAus

Closes #431 

[Changeset since the last release](0.7.4...master)

Includes:

- #427 
- #419 
- #424 
- #418 
- #413 
- #407 
- #404 
- #400 
- #399 
- #398 
- #397 
- #396 
- #394 
- #393 
- #390
- #389 
- #388 

I've also added some docs to the 128bit integer methods to clarify how they're different than `to_fields` (for consistency with other uuid libs in the wild).

Co-authored-by: Ashley Mannix <ashleymannix@live.com.au>
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.

2 participants