LWN.net Logo

Object-oriented design patterns in the kernel, part 1

Object-oriented design patterns in the kernel, part 1

Posted Jun 4, 2011 10:11 UTC (Sat) by liljencrantz (guest, #28458)
In reply to: Object-oriented design patterns in the kernel, part 1 by sethml
Parent article: Object-oriented design patterns in the kernel, part 1

I always use the name «this» for the object pointer when doing OOP in C. From what I've seen, this is a common convention.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds