diff options
author | rsc <devnull@localhost> | 2005-01-04 21:18:08 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-04 21:18:08 +0000 |
commit | 1a0954abb80f92cd9940a21f11dd8f3a84518579 (patch) | |
tree | 44f2c6af204a0143f6d062b256008b372456f1d0 /include/libString.h | |
parent | 66ed321edf44a9465d011a3e54d60a6c32fc166f (diff) | |
download | plan9port-1a0954abb80f92cd9940a21f11dd8f3a84518579.tar.gz plan9port-1a0954abb80f92cd9940a21f11dd8f3a84518579.tar.bz2 plan9port-1a0954abb80f92cd9940a21f11dd8f3a84518579.zip |
autolib
Diffstat (limited to 'include/libString.h')
-rw-r--r-- | include/libString.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/libString.h b/include/libString.h index 1a560b6f..ad782b44 100644 --- a/include/libString.h +++ b/include/libString.h @@ -1,7 +1,14 @@ +#ifndef _LIBSTRING_H_ +#define _LIBSTRING_H_ 1 +#if defined(__cplusplus) +extern "C" { +#endif + /* #pragma src "/sys/src/libString" #pragma lib "libString.a" */ +AUTOLIB(String) /* extensible Strings */ typedef struct String { @@ -44,3 +51,7 @@ extern char *s_rdinstack(Sinstack*, String*); extern Sinstack *s_allocinstack(char*); extern void s_freeinstack(Sinstack*); #endif /* BGETC */ +#if defined(__cplusplus) +} +#endif +#endif |