Templates (Specifically: Include Guards)
Templates (Specifically: Include Guards)
- Subject: Templates (Specifically: Include Guards)
- From: Neil <email@hidden>
- Date: Tue, 18 Nov 2008 20:12:14 -0500
(Tangentially related to the Org Name thread...)
Is there a user-level[1] location to place templates to override the
defaults?
My ultimate goal is to have Xcode make/place include guards[2] in my
header files, rather than making me do it manually. Obviously, if
there's a better way to do this than making templates, that's fine by
me...
Thanks,
Neil.
[1] I don't want to go hacking around in the /Developer tree, ideally.
[2] Example:
/* header.h */
#ifndef HEADER_H_
#define HEADER_H_
/* code goes here */
#endif
---
/* code.c(pp) */
#include "header.h"
#include "header.h" /* without the ifndef's, this would cause an
error, with them, everything is peachy */
/* more code here */
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden