// Copyright 2013-2014 Fuzamei tech Ltd. All rights reserved. package saxocgo /* #include #include */ import "C" import ( "unsafe" ) //export GoOnSaxoMdMessage func GoOnSaxoMdMessage(tick *C.TickFull, ctx unsafe.Pointer) { app := (*App)(ctx) t := &FixTick{} size := unsafe.Sizeof(*t) C.memcpy(unsafe.Pointer(t), unsafe.Pointer(tick), C.size_t(size)) app.onMdMessage(t) }