首页
首页
沸点
课程
直播
活动
竞赛
商城
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
码哥比特
Developer @Melang.inc
·
2年前
关注
屏蔽作者: 码哥比特
举报
低侵入性C语言库
#include <stdio.h>
#include "mln_log.h"
#define MLN_SIMPLE_INIT //低侵入性必带宏
#include "mln_core.h"
int main(void)
{
mln_simple_init = 1; //等于几无所谓,但必须有
mln_log(debug, "aaa\n"); //使用日志函数输出,也可以是其他库内组件的使用
return 0;
}
隐含的完成了C语言库的全局加载,几乎无侵入性。大家可以猜猜加载是在哪里完成的
展开
Melon
github.com
优秀开源项目
分享
评论
点赞
相关推荐
开源项目名称:rollup-typescript-lib-boilerplate
开源项目地址:
github.com
A starter project that makes creating a TypeScript library extremely easy.
4 赞 ·
1 评论
开源项目名称:vscode-webview-vite-vue-boilerplate
开源项目地址:
github.com
介绍:这是一个基于Vite 5 + Vue3 + TypeScript + UnoCSS + Vue Router + Pinia 的项目模板,可以用于开发 VS Code Webview的插件
3 赞 ·
1 评论
新的文章输出,流程图正交线支持自定义拐点,绕三圈的正交线
juejin.cn
3 赞 ·
0 评论
相关推荐
开源项目名称:rollup-typescript-lib-boilerplate
开源项目地址:
github.com
A starter project that makes creating a TypeScript library extremely easy.
4 赞 ·
1 评论
开源项目名称:vscode-webview-vite-vue-boilerplate
开源项目地址:
github.com
介绍:这是一个基于Vite 5 + Vue3 + TypeScript + UnoCSS + Vue Router + Pinia 的项目模板,可以用于开发 VS Code Webview的插件
3 赞 ·
1 评论
新的文章输出,流程图正交线支持自定义拐点,绕三圈的正交线
juejin.cn
3 赞 ·
0 评论