Edit

kc3-lang/kc3/libc3/c3.h

Branch :

  • libc3/c3.h
  • /* c3
     * Copyright 2022,2023 kmx.io <contact@kmx.io>
     *
     * Permission is hereby granted to use this software granted the above
     * copyright notice and this permission paragraph are included in all
     * copies and substantial portions of this software.
     *
     * THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
     * PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
     * AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
     * THIS SOFTWARE.
     */
    #ifndef C3_H
    #define C3_H
    
    #include "arg.h"
    #include "array.h"
    #include "bool.h"
    #include "buf.h"
    #include "buf_file.h"
    #include "buf_inspect.h"
    #include "buf_parse.h"
    #include "buf_save.h"
    #include "call.h"
    #include "ceiling.h"
    #include "cfn.h"
    #include "character.h"
    #include "compare.h"
    #include "env.h"
    #include "error.h"
    #include "eval.h"
    #include "fact.h"
    #include "facts.h"
    #include "facts_cursor.h"
    #include "facts_with.h"
    #include "facts_with_cursor.h"
    #include "fn.h"
    #include "hash.h"
    #include "ident.h"
    #include "integer.h"
    #include "io.h"
    #include "list.h"
    #include "module.h"
    #include "operator.h"
    #include "quote.h"
    #include "str.h"
    #include "tag.h"
    #include "tuple.h"
    #include "ucd.h"
    
    #define C3_EXT ".c3"
    
    extern const s_str g_c3_base_bin;
    extern const s_str g_c3_base_oct;
    extern const s_str g_c3_base_dec;
    extern const s_str g_c3_bases_hex[2];
    
    /* stack-allocation compatible functions */
    void c3_init (s_env *env);
    void c3_clean (s_env *env);
    
    /* debug */
    void c3_break ();
    
    #endif /* C3_H */