Janet 1.28.0-358f5a0 Documentation
(Other Versions:
          
          1.27.0
          
          1.26.0
          
          1.25.1
          
          1.24.0
          
          1.23.0
          
          1.22.0
          
          1.21.0
          
          1.20.0
          
          1.19.0
          
          1.18.1
          
          1.17.1
          
          1.16.1
          
          1.15.0
          
          1.13.1
          
          1.12.2
          
          1.11.1
          
          1.10.1
          
          1.9.1
          
          1.8.1
          
          1.7.0
          
          1.6.0
          
          1.5.1
          
          1.5.0
          
          1.4.0
          
          1.3.1
          )
        C Compiler
Index
cc/archive-c cc/compile-c cc/create-buffer-c cc/create-buffer-c-impl cc/create-executable cc/embed-name cc/entry-name cc/entry-replace cc/link-c cc/make-bin-source cc/make-define cc/make-defines cc/modpath-to-meta cc/modpath-to-static cc/out-path
cc/archive-c function source 
(archive-c opts target & objects) Link object files together to make a static library.Community Examples
cc/compile-c function source 
(compile-c compiler opts src dest &opt static?) Compile a C file into an object file.Community Examples
cc/create-buffer-c function source 
(create-buffer-c source dest name) Inline raw byte file as a c file.Community Examples
cc/create-executable function source 
(create-executable opts source dest no-core) Links an image with libjanet.a (or .lib) to produce an executable. Also will try to link native modules into the final executable as well.Community Examples
cc/embed-name function source 
(embed-name path) Rename a janet symbol for embedding.Community Examples
cc/entry-name function source 
(entry-name name) Name of symbol that enters static compilation of a module.Community Examples
cc/entry-replace function source 
(entry-replace name) Escape special characters in the entry-nameCommunity Examples
cc/link-c function source 
(link-c has-cpp opts target & objects) Link C or C++ object files together to make a native module.Community Examples
cc/make-bin-source function source 
(make-bin-source declarations lookup-into-invocations no-core)Community Examples
cc/make-define function source 
(make-define define value) Generate strings for adding custom defines to the compiler.Community Examples
cc/make-defines function source 
(make-defines defines) Generate many defines. Takes a dictionary of defines. If a value is true, generates -DNAME (/DNAME on windows), otherwise -DNAME=value.Community Examples
cc/modpath-to-meta function source 
(modpath-to-meta path) Get the meta file path (.meta.janet) corresponding to a native module path (.so).Community Examples
cc/modpath-to-static function source 
(modpath-to-static path) Get the static library (.a) path corresponding to a native module path (.so).Community Examples
cc/out-path function source 
        
      (out-path path from-ext to-ext) Take a source file path and convert it to an output path.Community Examples