Add a visual fn type alias test
This commit is contained in:
parent
77824a24ef
commit
2f03a31e1a
2 changed files with 19 additions and 0 deletions
10
tests/source/visual-fn-type.rs
Normal file
10
tests/source/visual-fn-type.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// rustfmt-indent_style: Visual
|
||||
type CNodeSetAtts = unsafe extern "C" fn(node: *const RsvgNode,
|
||||
node_impl: *const RsvgCNodeImpl,
|
||||
handle: *const RsvgHandle,
|
||||
pbag: *const PropertyBag)
|
||||
;
|
||||
type CNodeDraw = unsafe extern "C" fn(node: *const RsvgNode,
|
||||
node_impl: *const RsvgCNodeImpl,
|
||||
draw_ctx: *const RsvgDrawingCtx,
|
||||
dominate: i32);
|
||||
9
tests/target/visual-fn-type.rs
Normal file
9
tests/target/visual-fn-type.rs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// rustfmt-indent_style: Visual
|
||||
type CNodeSetAtts = unsafe extern "C" fn(node: *const RsvgNode,
|
||||
node_impl: *const RsvgCNodeImpl,
|
||||
handle: *const RsvgHandle,
|
||||
pbag: *const PropertyBag);
|
||||
type CNodeDraw = unsafe extern "C" fn(node: *const RsvgNode,
|
||||
node_impl: *const RsvgCNodeImpl,
|
||||
draw_ctx: *const RsvgDrawingCtx,
|
||||
dominate: i32);
|
||||
Loading…
Add table
Add a link
Reference in a new issue