Calling my own Julia module from C

I don’t have too much experience with this but I’ve gotten it to work. I found this thread very helpful. The thread is about dealing with garbage collection when calling julia from C but the first post has a good example of loading a module from C (C++ actually but I think everything there works in C) and then calling a function from that module. I’ve used that approach to call my own modules from C. As far as I can tell loading modules is not in the embedding documentation though so I’m not sure if there’s a more direct way to go about it.