Skip to content

Commit

Permalink
Mark DemangleOptions as repr(C) since it's used directly by the C api.
Browse files Browse the repository at this point in the history
  • Loading branch information
khuey committed Jun 11, 2020
1 parent 03f8166 commit bc47954
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ use std::fmt;

/// Options to control the demangling process.
#[derive(Clone, Copy, Debug, Default)]
#[repr(C)]
pub struct DemangleOptions {
no_params: bool,
no_return_type: bool,
Expand Down

0 comments on commit bc47954

Please sign in to comment.