# How to use @code\_native with Cxx.jl

**URL:** <https://discourse.julialang.org/t/how-to-use-code-native-with-cxx-jl/34556>\
**Category:** General Usage\
**Tags:** cxx\
**Created:** [February 13, 2020, 5:26am UTC](https://discourse.julialang.org/t/how-to-use-code-native-with-cxx-jl/34556 "2020-02-13T05:26:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![klaff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/klaff/32/7637_2.png) [@klaff](https://discourse.julialang.org/u/klaff)\
**Post date:** [February 13, 2020, 5:26am UTC](https://discourse.julialang.org/t/how-to-use-code-native-with-cxx-jl/34556/1 "2020-02-13T05:26:18Z")

</div>

Hi,

If I do something like

```julia
using Cxx

cxx"""
double f(double x)
{
    return 2.0*pow(x,4)-3.0*pow(x,3)+2.0*pow(x,2)-x;
}
"""
jf(x) = @cxx f(x)

```

and then do `@code_native jf(2.0)` the code appears to be the code that calls the compiled C function as opposed to the actual compiled C function. Is there a way to view the compiled C function?

Thanks!
