# Working on spidev.h and spidev.c translation

**URL:** https://discourse.julialang.org/t/working-on-spidev-h-and-spidev-c-translation/6479
**Category:** General Usage
**Created:** [October 16, 2017, 4:42pm UTC](https://discourse.julialang.org/t/working-on-spidev-h-and-spidev-c-translation/6479 "2017-10-16T16:42:55Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![yuyichao](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yuyichao/32/20_2.png) [@yuyichao](https://discourse.julialang.org/u/yuyichao)
#### Post date: [October 19, 2017, 6:26pm UTC](https://discourse.julialang.org/t/working-on-spidev-h-and-spidev-c-translation/6479/15 "2017-10-19T18:26:31Z")

</div>

Using the field isn’t the issue, using a variable has the same effect (except that now the issue is that you are not passing a reference to the variable). See [Properly using `finalizer`, `ccall`, `cconvert` and `unsafe_convert` - #10 by yuyichao](https://discourse.julialang.org/t/properly-using-finalizer-ccall-cconvert-and-unsafe-convert/6183/10) and [Properly using `finalizer`, `ccall`, `cconvert` and `unsafe_convert` - #13 by yuyichao](https://discourse.julialang.org/t/properly-using-finalizer-ccall-cconvert-and-unsafe-convert/6183/13) . I prefer not to repeat that whole thing again but let me know which part is unclear in that explaination…

---

_[View the full topic](https://discourse.julialang.org/t/working-on-spidev-h-and-spidev-c-translation/6479)._
