+++ /dev/null
-/* $Id$ $Revision$ */
-/* vim:set shiftwidth=4 ts=8: */
-
-/*************************************************************************
- * Copyright (c) 2011 AT&T Intellectual Property
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors: See CVS logs. Details at http://www.graphviz.org/
- *************************************************************************/
-
-#include <sfio/sfhdr.h>
-
-#undef sfulen
-
-int sfulen(Sfulong_t v)
-{
- return __sf_ulen(v);
-}
extern Sfoff_t sfsk(Sfio_t *, Sfoff_t, int, Sfdisc_t *);
extern ssize_t sfpkrd(int, void *, size_t, int, long, int);
-/* portable handling of primitive types */
- extern int sfulen(Sfulong_t);
-
extern int sfputc(Sfio_t *, int);
extern Sfdouble_t sfgetd(Sfio_t *);
extern int _sffilbuf(Sfio_t *, int);
- extern int _sfulen(Sfulong_t);
-
/* miscellaneous function analogues of fast in-line functions */
extern Sfoff_t sfsize(Sfio_t *);
extern int sffileno(Sfio_t *);
(int)(*_SF_(f)->next++ = (unsigned char)(c)) )
#define __sf_getc(f) (_SF_(f)->next >= _SF_(f)->endr ? _sffilbuf(_SF_(f),0) : \
(int)(*_SF_(f)->next++) )
-#define __sf_ulen(v) ((Sfulong_t)(v) < SF_U1 ? 1 : (Sfulong_t)(v) < SF_U2 ? 2 : \
- (Sfulong_t)(v) < SF_U3 ? 3 : (Sfulong_t)(v) < SF_U4 ? 4 : 5)
#define __sf_fileno(f) ((f) ? _SF_(f)->file : -1)
#define __sf_value(f) ((f) ? (_SF_(f)->val) : 0)
#define __sf_slen() (_Sfi)
#define sfputc(f,c) ( __sf_putc((f),(c)) )
#define sfgetc(f) ( __sf_getc(f) )
-#define sfulen(v) ( __sf_ulen(v) )
#define sffileno(f) ( __sf_fileno(f) )
#define sfvalue(f) ( __sf_value(f) )
#define sfslen() ( __sf_slen() )
<ClCompile Include="sfio_f\_sfgetc.c" />
<ClCompile Include="sfio_f\_sfputc.c" />
<ClCompile Include="sfio_f\_sfslen.c" />
- <ClCompile Include="sfio_f\_sfulen.c" />
<ClCompile Include="sfio_f\_sfvalue.c" />
<ClCompile Include="sfmode.c" />
<ClCompile Include="sfnew.c" />
<ClCompile Include="sfio_f\_sfslen.c">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="sfio_f\_sfulen.c">
- <Filter>Source Files</Filter>
- </ClCompile>
<ClCompile Include="sfio_f\_sfvalue.c">
<Filter>Source Files</Filter>
</ClCompile>