spielwiese
Last change
on this file since 4e654a2 was
7a452a7,
checked in by Oleksandr Motsak <motsak@…>, 13 years ago
|
modeline for vim/emacs
same header everywhere.
TODO: c-source? singularxx-defs?
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
---|
2 | /*****************************************************************************\ |
---|
3 | * Computer Algebra System SINGULAR |
---|
4 | \*****************************************************************************/ |
---|
5 | /** @file templateForC.h |
---|
6 | * |
---|
7 | * This is our template for C headers. |
---|
8 | * |
---|
9 | * ABSTRACT: Some more description here. |
---|
10 | * |
---|
11 | * @author Oleksandr Motsak |
---|
12 | * |
---|
13 | * @internal @version \$Id$ |
---|
14 | * |
---|
15 | **/ |
---|
16 | /*****************************************************************************/ |
---|
17 | |
---|
18 | #ifndef TEMPLATE_FOR_C_H |
---|
19 | #define TEMPLATE_FOR_C_H |
---|
20 | |
---|
21 | /** New type name for int. */ |
---|
22 | typedef int name; |
---|
23 | |
---|
24 | /** My enum. Or yours, if you want! */ |
---|
25 | enum myEnum |
---|
26 | { |
---|
27 | int EVal1, /**< Enum value 1 */ |
---|
28 | int EVal2 /**< Enum value 2 */ |
---|
29 | }; |
---|
30 | |
---|
31 | /** F1. |
---|
32 | * |
---|
33 | * This is function 1. |
---|
34 | * |
---|
35 | * @return information about return value |
---|
36 | * @sa strcpy |
---|
37 | * |
---|
38 | * The end! |
---|
39 | */ |
---|
40 | int F1( |
---|
41 | int a1, /**< [in] some int. |
---|
42 | * aasas. |
---|
43 | * bbbb. |
---|
44 | */ |
---|
45 | int & r1 /**< [in,out] integer input and some resulting value */ |
---|
46 | ); |
---|
47 | |
---|
48 | |
---|
49 | |
---|
50 | #endif |
---|
51 | /* TEMPLATE_FOR_C_H */ |
---|
52 | |
---|
53 | /* Vi-modeline: vim: filetype=c:syntax:shiftwidth=2:tabstop=8:textwidth=0:expandtab |
---|
54 | */ |
---|
Note: See
TracBrowser
for help on using the repository browser.