PreviousUpNext

14.4.45  Make_Library_Glue

The Make_Library_Glue api defines the external interface to the make_library_glue package.

The Make_Library_Glue api is implemented by the make_library_glue package.

The Make_Library_Glue api source code is src/lib/make-library-glue/make-library-glue.pkg.

The above information is manually maintained and may contain errors.

api {     Field  =
          {fieldname:String, filename:String, line_1:Int, line_n:Int, lines:List(String ), used:Ref(Bool )};
    Fields  = string_map::Map(Field );
    State;
          Paths  =
                {construction_plan:String, lib_name:String, libmythryl_xxx_c:String,
                mythryl_xxx_library_in_c_subprocess_c:String, section_libref_xxx_tex:String, xxx_client_api:String,
                xxx_client_driver_api:String, xxx_client_driver_for_library_in_c_subprocess_pkg:String,
                xxx_client_driver_for_library_in_main_process_pkg:String, xxx_client_g_pkg:String};
          Builder_Stuff  =
                {build_fun_declaration_for_'xxx_client_api':patchfiles::Patchfiles -> {api_doc:String, fn_name:String, fn_type:String} -> patchfiles::Patchfiles,
                build_fun_declaration_for_'xxx_client_driver_api':
                patchfiles::Patchfiles
                ->
                {c_fn_name:String, libcall:String, result_type:String} -> patchfiles::Patchfiles
                ,
                build_fun_definition_for_'xxx_client_driver_for_library_in_c_subprocess_pkg':
                patchfiles::Patchfiles
                ->
                {c_fn_name:String, libcall:String, result_type:String} -> patchfiles::Patchfiles
                ,
                build_fun_definition_for_'xxx_client_driver_for_library_in_main_process_pkg':
                patchfiles::Patchfiles
                ->
                {c_fn_name:String, fn_name:String, fn_type:String, libcall:String, result_type:String}
                ->
                patchfiles::Patchfiles
                ,
                build_table_entry_for_'libmythryl_xxx_c':patchfiles::Patchfiles -> (String , String) -> patchfiles::Patchfiles,
                build_trie_entry_for_'mythryl_xxx_library_in_c_subprocess_c':patchfiles::Patchfiles -> String -> patchfiles::Patchfiles,
                callback_fns_handbuilt_for_'xxx_client_g_pkg':Ref(Int ),
                custom_fns_codebuilt_for_'libmythryl_xxx_c':Ref(Int ),
                custom_fns_codebuilt_for_'mythryl_xxx_library_in_c_subprocess_c':Ref(Int ),
                get_field:(Fields , String) -> String, get_field_location:(Fields , String) -> String,
                maybe_get_field:(Fields , String) -> Null_Or(String ),
                note__section_libref_xxx_tex__entry:
                patchfiles::Patchfiles
                ->
                {fields:Fields, fn_name:String, fn_type:String, libcall:String, url:String}
                ->
                patchfiles::Patchfiles
                , path:Paths, to_libmythryl_xxx_c_funs:patchfiles::Patchfiles -> String -> patchfiles::Patchfiles,
                to_libmythryl_xxx_c_table:patchfiles::Patchfiles -> String -> patchfiles::Patchfiles,
                to_mythryl_xxx_library_in_c_subprocess_c_funs:patchfiles::Patchfiles -> String -> patchfiles::Patchfiles,
                to_mythryl_xxx_library_in_c_subprocess_c_trie:patchfiles::Patchfiles -> String -> patchfiles::Patchfiles,
                to_section_libref_xxx_tex_apitable:patchfiles::Patchfiles -> String -> patchfiles::Patchfiles,
                to_section_libref_xxx_tex_libtable:patchfiles::Patchfiles -> String -> patchfiles::Patchfiles,
                to_xxx_client_api_funs:patchfiles::Patchfiles -> String -> patchfiles::Patchfiles,
                to_xxx_client_api_types:patchfiles::Patchfiles -> String -> patchfiles::Patchfiles,
                to_xxx_client_driver_api:patchfiles::Patchfiles -> String -> patchfiles::Patchfiles,
                to_xxx_client_driver_for_library_in_c_subprocess_pkg:patchfiles::Patchfiles -> String -> patchfiles::Patchfiles,
                to_xxx_client_driver_for_library_in_main_process_pkg:patchfiles::Patchfiles -> String -> patchfiles::Patchfiles,
                to_xxx_client_g_pkg_funs:patchfiles::Patchfiles -> String -> patchfiles::Patchfiles,
                to_xxx_client_g_pkg_types:patchfiles::Patchfiles -> String -> patchfiles::Patchfiles};
          Custom_Body_Stuff  =
                {fn_name:String, libcall:String, libcall_more:String, path:Paths,
                to_mythryl_xxx_library_in_c_subprocess_c_funs:patchfiles::Patchfiles -> String -> patchfiles::Patchfiles};
          Custom_Body_Stuff2  =
                {fn_name:String, libcall:String, libcall_more:String, path:Paths,
                to_libmythryl_xxx_c_funs:patchfiles::Patchfiles -> String -> patchfiles::Patchfiles};
        Plugin
        = BUILD_ARG_LOAD_FOR_'LIBMYTHRYL_XXX_C'
        (String , ((String , Int , String) -> String))
        |
        BUILD_ARG_LOAD_FOR_'MYTHRYL_XXX_LIBRARY_IN_C_SUBPROCESS'
        (String , ((String , Int , String) -> String))
        |
        CLIENT_DRIVER_ARG_TYPE
        (String , String)
        |
        CLIENT_DRIVER_RESULT_TYPE
        (String , String)
        |
        DO_COMMAND_FOR_'XXX_CLIENT_DRIVER_FOR_LIBRARY_IN_C_SUBPROCESS_PKG'
        (String , String)
        |
        DO_COMMAND_TO_STRING_FN
        (String , String)
        |
        FIGURE_FUNCTION_RESULT_TYPE
        (String , (String -> String))
        |
        HANDLE_NONSTANDARD_RESULT_TYPE_FOR__BUILD_PLAIN_FUN_FOR__'LIBMYTHRYL_XXX_C'
        (String , (patchfiles::Patchfiles -> Custom_Body_Stuff2 -> patchfiles::Patchfiles))
        |
        HANDLE_NONSTANDARD_RESULT_TYPE_FOR__BUILD_PLAIN_FUN_FOR__'MYTHRYL_XXX_LIBRARY_IN_C_SUBPROCESS_C'
        (String , (patchfiles::Patchfiles -> Custom_Body_Stuff -> patchfiles::Patchfiles))
        |
        LIBCALL_TO_ARGS_FN
        String -> List(String );
        make_library_glue :
        Paths -> List(planfile::Paragraph_Definition(Builder_Stuff ) ) -> List(Plugin ) -> Void;};


Comments and suggestions to: bugs@mythryl.org

PreviousUpNext