akagi201 / lw_oopc Goto Github PK
View Code? Open in Web Editor NEWLight Weight Object Oriented C macros
License: GNU Lesser General Public License v2.1
Light Weight Object Oriented C macros
License: GNU Lesser General Public License v2.1
我对嵌入式领域的OO编程很感兴趣。但是对于嵌入式设备来说,往往malloc函数都是不支持的,请问这套宏有办法不用malloc实现OO么?
When I use the lw_oopc.h, there's a mistake, the build tools show me the word:
2023-03-20T03:29:00.158Z] ./lw_oo/lw_oopc.h:110:9: note: in definition of macro 'CTOR'
[2023-03-20T03:29:00.158Z] 110 | type *type##_new() {
[2023-03-20T03:29:00.158Z] | ^~~~
[2023-03-20T03:29:00.158Z] cc1: all warnings being treated as errors
How do I resolve these compile warnings?
Thx!
泛型作为OOP的重要特性希望什么时候可以支持一下,我现在都一直用void*的方式,已经memcpy的赋值操作,感觉十分的累,能不能将这类特性封装成接口提供出来,Thanks
有没有高老师的那本书电子版上传下呗
pdf失效了😭
继续;
维护;
提供多多的例子
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.