// Copyright 2013-2014 Fuzamei tech Ltd. All rights reserved. package gofix /* #include #include */ import "C" import ( "unsafe" ) //export GoOnMdMessage func GoOnMdMessage(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) }