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

[WIP] Import C types from the cty crate #1285

Closed
wants to merge 34 commits into from
Closed

Commits on May 25, 2017

  1. initial commit

    japaric committed May 25, 2017
    Configuration menu
    Copy the full SHA
    b1cd416 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fc612ec View commit details
    Browse the repository at this point in the history
  3. v0.1.0

    japaric committed May 25, 2017
    Configuration menu
    Copy the full SHA
    5f95fb6 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2017

  1. Configuration menu
    Copy the full SHA
    d123974 View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-lang#1 from denzp/master

    Fix mixed signed / unsigned types
    japaric committed May 29, 2017
    Configuration menu
    Copy the full SHA
    ea1b9c4 View commit details
    Browse the repository at this point in the history
  3. v0.1.1

    japaric committed May 29, 2017
    Configuration menu
    Copy the full SHA
    235799f View commit details
    Browse the repository at this point in the history
  4. Add NVPTX architecture

    denzp committed May 29, 2017
    Configuration menu
    Copy the full SHA
    de6153e View commit details
    Browse the repository at this point in the history
  5. v0.1.2

    japaric committed May 29, 2017
    Configuration menu
    Copy the full SHA
    dfc1d75 View commit details
    Browse the repository at this point in the history
  6. Merge pull request rust-lang#3 from denzp/master

    Add NVPTX architecture
    japaric committed May 29, 2017
    Configuration menu
    Copy the full SHA
    1931985 View commit details
    Browse the repository at this point in the history
  7. v0.1.3

    japaric committed May 29, 2017
    Configuration menu
    Copy the full SHA
    4a17eaa View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    02aa724 View commit details
    Browse the repository at this point in the history
  9. Merge pull request rust-lang#4 from japaric/long

    change c_{,u}long to match libc v0.2.23 definitions
    japaric committed May 29, 2017
    Configuration menu
    Copy the full SHA
    6bf55c1 View commit details
    Browse the repository at this point in the history
  10. add MSP430 support

    japaric committed May 29, 2017
    Configuration menu
    Copy the full SHA
    5c2a70c View commit details
    Browse the repository at this point in the history
  11. Merge pull request rust-lang#5 from japaric/msp430

    add MSP430 support
    japaric committed May 29, 2017
    Configuration menu
    Copy the full SHA
    82f3097 View commit details
    Browse the repository at this point in the history
  12. v0.1.4

    japaric committed May 29, 2017
    Configuration menu
    Copy the full SHA
    6a36b61 View commit details
    Browse the repository at this point in the history
  13. add CI

    japaric committed May 29, 2017
    Configuration menu
    Copy the full SHA
    6c6bc6d View commit details
    Browse the repository at this point in the history
  14. s/xargo/cargo/

    japaric committed May 29, 2017
    Configuration menu
    Copy the full SHA
    2aaded4 View commit details
    Browse the repository at this point in the history
  15. add more types

    japaric committed May 29, 2017
    Configuration menu
    Copy the full SHA
    1e7a8d1 View commit details
    Browse the repository at this point in the history
  16. v0.1.5

    japaric committed May 29, 2017
    Configuration menu
    Copy the full SHA
    e7d2a37 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2017

  1. add crates.io badges

    japaric committed Jun 2, 2017
    Configuration menu
    Copy the full SHA
    f4a2cde View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2017

  1. Configuration menu
    Copy the full SHA
    40007c5 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2017

  1. Include additional types from libc

    Copied a few extra definitions from the libc crate.
    Amanieu committed Oct 13, 2017
    Configuration menu
    Copy the full SHA
    f9ab9f9 View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#9 - Amanieu:patch-1, r=japaric

    Include additional types from libc
    
    Copied a few extra definitions from the libc crate.
    homunkulus committed Oct 13, 2017
    Configuration menu
    Copy the full SHA
    4d8b252 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2019

  1. Configuration menu
    Copy the full SHA
    1328396 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2019

  1. bors compatibility

    japaric committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    26e59de View commit details
    Browse the repository at this point in the history
  2. Merge rust-lang#11

    11: Re-export core::ffi::c_void r=japaric a=jeikabu
    
    japaric/cty#10
    
    Without this trying to use bindgen like:
    ```rust
    let bindings = bindgen::Builder::default()
            .header("wrapper.h")
            .ctypes_prefix("cty")
            .use_core()
            .generate();
    ```
    
    Results in lots of:
    ```
    error[E0308]: mismatched types
      --> runng/src/protocol/mod.rs:49:43
       |
    49 |         let res = nng_setopt(socket, opt, topic_ptr, topic_size);
       |                                           ^^^^^^^^^ expected enum `cty::c_void`, found enum `std::ffi::c_void`
       |
       = note: expected type `*const cty::c_void`
                  found type `*const std::ffi::c_void`
    ```
    
    
    Co-authored-by: jake <jeikabu@gmail.com>
    bors[bot] and jeikabu committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    b613a06 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2019

  1. v0.2.0

    japaric committed Feb 6, 2019
    Configuration menu
    Copy the full SHA
    6444057 View commit details
    Browse the repository at this point in the history
  2. CHANGELOG: update link

    japaric committed Feb 6, 2019
    Configuration menu
    Copy the full SHA
    f754976 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    66b4257 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    58430c1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1779ddc View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2019

  1. Move cty into cty subdirectory

    gnzlbg committed Feb 24, 2019
    Configuration menu
    Copy the full SHA
    bb65250 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fc95e27 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    464d570 View commit details
    Browse the repository at this point in the history