Add editor blocks to some header files.

p4raw-id: //depot/perl@32793
This commit is contained in:
Marcus Holland-Moritz 2008-01-01 17:18:13 +00:00
parent 20bff64c49
commit e9a8c0991e
21 changed files with 201 additions and 5 deletions

View File

@ -197,3 +197,13 @@
/* Don't go reading from /dev/urandom */
#define PERL_NO_DEV_RANDOM
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

View File

@ -122,3 +122,12 @@
#define fscanf _CANNOT _fscanf_
#define fgets(s,n,f) _CANNOT _fgets_
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

View File

@ -63,3 +63,13 @@ struct thread_intern {
#define THREAD_POST_CREATE(t) NOOP
#define YIELD NOOP
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

View File

@ -850,3 +850,12 @@ Malloc_t Perl_mem_log_free(Malloc_t oldalloc, const char *filename, const int li
#define pTHX__VALUE
#endif /* USE_ITHREADS */
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

View File

@ -1409,3 +1409,12 @@ struct IPerlSockInfo
#endif /* __Inc__IPerl___ */
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

10
mg.h
View File

@ -60,3 +60,13 @@ struct magic {
#define SvTIED_mg(sv,how) (SvRMAGICAL(sv) ? mg_find((sv),(how)) : NULL)
#define SvTIED_obj(sv,mg) \
((mg)->mg_obj ? (mg)->mg_obj : sv_2mortal(newRV(sv)))
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

View File

@ -124,3 +124,13 @@ struct _FILE;
#ifndef OS2
#define pclose(f) _CANNOT _pclose_
#endif
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

10
pad.h
View File

@ -345,3 +345,13 @@ Clone the state variables associated with running and compiling pads.
PL_padix_floor = proto_perl->Ipadix_floor; \
PL_pad_reset_pending = proto_perl->Ipad_reset_pending; \
PL_cop_seqmax = proto_perl->Icop_seqmax;
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

View File

@ -106,5 +106,13 @@ typedef struct yy_parser {
char tokenbuf[256];
} yy_parser;
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

10
perl.h
View File

@ -5945,3 +5945,13 @@ extern void moncontrol(int);
*/
#endif /* Include guard */
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

View File

@ -382,3 +382,13 @@ typedef struct PerlIO_list_s PerlIO_list_t;
END_EXTERN_C
#endif /* _PERLIO_H */
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

View File

@ -285,3 +285,13 @@ PERL_EXPORT_C SSize_t PerlIOUnix_write(pTHX_ PerlIO *f, const void *vbuf, Size
PERL_EXPORT_C IV PerlIOUtf8_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab);
#endif /* _PERLIOL_H */
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

View File

@ -152,3 +152,13 @@
#endif /* NETWARE */
#endif /* PERLIO_IS_STDIO */
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

View File

@ -73,4 +73,12 @@ extern int _stdprintf _ARG_((const char*, ...));
#define PerlIO_get_base(f) ((f)->data)
#define PerlIO_get_bufsiz(f) ((f)->endr - (f)->data)
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

View File

@ -814,5 +814,12 @@ re.pm, especially to the documentation.
#endif /* DEBUG RELATED DEFINES */
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

View File

@ -260,3 +260,12 @@ Closing bracket on a callback. See C<ENTER> and L<perlcall>.
#define SSPTR(off,type) ((type) ((char*)PL_savestack + off))
#define SSPTRt(off,type) ((type*) ((char*)PL_savestack + off))
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

View File

@ -472,3 +472,13 @@
#ifndef INIT_THREADS
# define INIT_THREADS NOOP
#endif
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

View File

@ -145,3 +145,12 @@
#define USE_ENVIRON_ARRAY
#endif
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

10
utf8.h
View File

@ -340,3 +340,13 @@ encoded character.
#define IS_UTF8_CHAR_FAST(n) ((n) <= 4)
#endif /* IS_UTF8_CHAR() for UTF-8 */
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

View File

@ -418,4 +418,12 @@ END_EXTERN_C
#define UTF8_EIGHT_BIT_HI(c) UTF_TO_NATIVE((((U8)(c))>>UTF_ACCUMULATION_SHIFT)|UTF_START_MARK(2))
#define UTF8_EIGHT_BIT_LO(c) UTF_TO_NATIVE(((((U8)(c)))&UTF_CONTINUATION_MASK)|UTF_CONTINUATION_MARK)
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/

10
util.h
View File

@ -41,3 +41,13 @@
# endif /* NETWARE */
# endif /* WIN32 */
#endif /* VMS */
/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*
* ex: set ts=8 sts=4 sw=4 noet:
*/