Add a visual fn type alias test

This commit is contained in:
Ivan Molodetskikh 2018-09-11 12:34:21 +03:00
parent 77824a24ef
commit 2f03a31e1a
No known key found for this signature in database
GPG key ID: 02CE38DA47E9D691
2 changed files with 19 additions and 0 deletions

View 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);

View 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);