# \#c

**URL:** https://discourse.julialang.org/tag/c/610.md?page=4

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 5

---

## [Clang.jl ignoring #define starting with underscore](https://discourse.julialang.org/t/clang-jl-ignoring-define-starting-with-underscore/38426)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 2\
**Last updated:** [April 30, 2020, 7:04am UTC](https://discourse.julialang.org/t/clang-jl-ignoring-define-starting-with-underscore/38426 "2020-04-30T07:04:00Z")

</div>

I have some header files which I’d like to wrap with Clang.jl. Why does it ignore definitions starting with underscore such as: #define \_VAR (1) If I remove the underscore, it works fine: #define VAR (1) const VAR =…

---

## [Calling Julia algorithm from C](https://discourse.julialang.org/t/calling-julia-algorithm-from-c/35130)

<div class="topic-metadata">

**Author:** [@kevinczimmerman](https://discourse.julialang.org/u/kevinczimmerman)\
**Replies:** 6\
**Last updated:** [February 25, 2020, 8:05pm UTC](https://discourse.julialang.org/t/calling-julia-algorithm-from-c/35130 "2020-02-25T20:05:21Z")

</div>

I am interested in developing algorithms in Julia and compiling the algorithm into a library and then integrating the functionality into large codebases written in C. I’m aware of PackageCompiler.jl but am confused about…

---

## [Working towards better C interop](https://discourse.julialang.org/t/working-towards-better-c-interop/30637)

<div class="topic-metadata">

**Author:** [@colinxs](https://discourse.julialang.org/u/colinxs)\
**Replies:** 5\
**Last updated:** [December 10, 2019, 4:11am UTC](https://discourse.julialang.org/t/working-towards-better-c-interop/30637 "2019-12-10T04:11:50Z")

</div>

I recently wrapped a C library in Julia and am thoroughly impressed with how easy the process is compared to any other language I’ve worked with. That being said, there are a few pain points that, as far as I know, do no…

---

## [Clang.jl generates lower case structs](https://discourse.julialang.org/t/clang-jl-generates-lower-case-structs/24881)

<div class="topic-metadata">

**Author:** [@KajWiik](https://discourse.julialang.org/u/KajWiik)\
**Replies:** 2\
**Last updated:** [June 3, 2019, 11:14am UTC](https://discourse.julialang.org/t/clang-jl-generates-lower-case-structs/24881 "2019-06-03T11:14:45Z")

</div>

I am trying to make a wrapper for a C-library and everything seems to work nicely except that Clang.jl emits the struct names in lower case. I guess I am missing something in the the generate.jl script?

---

## [Newbie for calling julia c files con c and c++](https://discourse.julialang.org/t/newbie-for-calling-julia-c-files-con-c-and-c/15263)

<div class="topic-metadata">

**Author:** [@Noise](https://discourse.julialang.org/u/Noise)\
**Replies:** 5\
**Last updated:** [January 23, 2019, 10:27am UTC](https://discourse.julialang.org/t/newbie-for-calling-julia-c-files-con-c-and-c/15263 "2019-01-23T10:27:16Z")

</div>

Hello! I want to use julia as a scripting language on a game, im giving my first steps on trying scripting languages on c++. Can anyone help me to compile it calling julia.h? Im on windows 7 Dev-c++ 5.11, include dire…

---

## [Wrapping typedef enum with Clang.jl](https://discourse.julialang.org/t/wrapping-typedef-enum-with-clang-jl/17425)

<div class="topic-metadata">

**Author:** [@samuelpowell](https://discourse.julialang.org/u/samuelpowell)\
**Replies:** 11\
**Last updated:** [November 13, 2018, 8:17am UTC](https://discourse.julialang.org/t/wrapping-typedef-enum-with-clang-jl/17425 "2018-11-13T08:17:52Z")

</div>

If I try to wrap the following header: typedef enum \_foo { BAR, BAZ } foo; using the following Clang.jl script: using Clang.wrap\_c const context = wrap\_c.init( headers = \[joinpath(@\_\_DIR\_\_, "header.h")\], …

---

## [Seeking documentation on C calling Julia API](https://discourse.julialang.org/t/seeking-documentation-on-c-calling-julia-api/17348)

<div class="topic-metadata">

**Author:** [@peter.wolf](https://discourse.julialang.org/u/peter.wolf)\
**Replies:** 5\
**Last updated:** [November 9, 2018, 5:00pm UTC](https://discourse.julialang.org/t/seeking-documentation-on-c-calling-julia-api/17348 "2018-11-09T17:00:44Z")

</div>

Hello, I am still trying to call Julia from C++ Here is my Julia module TestF f(x::Int32)::Int32 = x + 3 end Following these directions \[Embedding Julia · The Julia Language\](http://Manual \>\> Embedding Julia) \[Redir…

---

## [Clang.jl large library](https://discourse.julialang.org/t/clang-jl-large-library/8483)

<div class="topic-metadata">

**Author:** [@mopg](https://discourse.julialang.org/u/mopg)\
**Replies:** 8\
**Last updated:** [January 22, 2018, 6:42pm UTC](https://discourse.julialang.org/t/clang-jl-large-library/8483 "2018-01-22T18:42:14Z")

</div>

I am trying to link Julia to a large C library. I was thinking that that wouldn’t be an issue given that everyone always says it is straightforward to link C to Julia with minimal performance loss. My problem is that I h…

---

## [Issue geting started with Clang.jl](https://discourse.julialang.org/t/issue-geting-started-with-clang-jl/2302)

<div class="topic-metadata">

**Author:** [@americast](https://discourse.julialang.org/u/americast)\
**Replies:** 3\
**Last updated:** [February 26, 2017, 4:24am UTC](https://discourse.julialang.org/t/issue-geting-started-with-clang-jl/2302 "2017-02-26T04:24:44Z")

</div>

Hi, I was trying to follow the example given in http://nbviewer.jupyter.org/github/ihnorton/Clang.jl/blob/master/examples/parsing\_c\_with\_clangjl/notebook.ipynb to get an idea of the working of Clang.jl. But I got the fo…

[Previous page](https://discourse.julialang.org/tag/c/610.md?match_all_tags=true&page=3&tags%5B%5D=c)
