Commit 719c3678 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Add Emacs footers for consistent coding style.

parent 865e50cd
......@@ -20,3 +20,13 @@ uint32_t cdiCheckSum(int type, int count, const void *buffer)
s = memcrc_finish(&s, (off_t)(elemSize * (size_t)count));
return s;
}
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -6,3 +6,13 @@
uint32_t cdiCheckSum(int type, int count, const void *data);
#endif
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -18,3 +18,12 @@ memcrc_finish(uint32_t *state, off_t total_size);
uint32_t
memcrc(const unsigned char *b, size_t n);
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -11,3 +11,13 @@ void
create_uuid(unsigned char uuid[CDI_UUID_SIZE]);
#endif
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -90,3 +90,12 @@ getline(char **linebuf, size_t *linebuf_size, FILE *fp)
return status;
}
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -760,3 +760,12 @@ void gribapiGetGrid(grib_handle *gh, grid_t *grid)
grid->type = gridtype;
}
#endif
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -35,3 +35,13 @@ void gribapiGetGrid(grib_handle *gh, grid_t *grid);
#endif
#endif
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -138,3 +138,13 @@ void cdiInputFile_destruct(CdiInputFile* me)
xassert(!error);
cdiInputFile_condestruct(me, NULL);
}
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -27,3 +27,13 @@ const char* cdiInputFile_getPath(const CdiInputFile* me);
//Destructor is private as well.
#endif
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -971,3 +971,13 @@ void baseIterDestruct(CdiIterator* me)
/*currently empty, but that's no reason not to call it*/
(void)me;
}
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -46,3 +46,13 @@ const char* baseIter_constructFromString(CdiIterator* me, const char* descriptio
void baseIterDestruct(CdiIterator* me);
#endif
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -288,3 +288,13 @@ void cdiFallbackIterator_delete(CdiIterator* super)
CdiFallbackIterator* me = (CdiFallbackIterator*)super;
cdiFallbackIterator_condestruct(me, NULL, 0);
}
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -39,3 +39,13 @@ void cdiFallbackIterator_readFieldF(CdiIterator* me, float* buffer, size_t* nmis
void cdiFallbackIterator_delete(CdiIterator* super);
#endif
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -910,3 +910,13 @@ double cdiGribIterator_inqDoubleDefaultValue(CdiGribIterator* me, const char* ke
xabort("CDI was compiled without GribAPI support, so you can't possibly have a valid CdiGribIterator* to call this function with");
#endif
}
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -46,3 +46,13 @@ void cdiGribIterator_readField(CdiIterator* me, double* buffer, size_t* nmiss);
void cdiGribIterator_readFieldF(CdiIterator* me, float* buffer, size_t* nmiss);
#endif
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -13,3 +13,13 @@ cdiPioEnableNetCDFParAccess();
#endif
#endif
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -5,3 +5,13 @@ void
cdiPioClientSetup(int *pioNamespace_, int *pioNamespace);
#endif
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -4,3 +4,13 @@
void cdiPioSerializeSetMPI();
#endif
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -30,3 +30,13 @@ void cdiRefObject_destruct(CdiReferencedObject* me)
(void)me;
/* Empty for now, but that's no reason not to call it! */
}
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
......@@ -36,3 +36,13 @@ void cdiRefObject_release(CdiReferencedObject* me);
void cdiRefObject_destruct(CdiReferencedObject* me);
#endif
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment