Select Git revision
Forked from
Nettle / nettle
Source project has a limited visibility.
-
Niels Möller authored
Rev: src/nettle/ChangeLog:1.10 Rev: src/nettle/aes.h:1.4 Rev: src/nettle/arcfour.h:1.3 Rev: src/nettle/blowfish.h:1.7 Rev: src/nettle/cast128.h:1.3 Rev: src/nettle/des.h:1.4 Rev: src/nettle/md5.h:1.3 Rev: src/nettle/memxor.h:1.2 Rev: src/nettle/serpent.h:1.5 Rev: src/nettle/sha1.h:1.3 Rev: src/nettle/twofish.h:1.4
Niels Möller authoredRev: src/nettle/ChangeLog:1.10 Rev: src/nettle/aes.h:1.4 Rev: src/nettle/arcfour.h:1.3 Rev: src/nettle/blowfish.h:1.7 Rev: src/nettle/cast128.h:1.3 Rev: src/nettle/des.h:1.4 Rev: src/nettle/md5.h:1.3 Rev: src/nettle/memxor.h:1.2 Rev: src/nettle/serpent.h:1.5 Rev: src/nettle/sha1.h:1.3 Rev: src/nettle/twofish.h:1.4
operators.h 2.07 KiB
/*
|| This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information.
|| $Id: operators.h,v 1.15 2003/11/14 09:27:29 mast Exp $
*/
#ifndef OPERATORS_H
#define OPERATORS_H
#define COMPARISON(ID,NAME,X) PMOD_EXPORT void ID(INT32 num_arg);
#include "svalue.h"
extern struct program *string_assignment_program;
struct string_assignment_storage
{
struct svalue lval[2];
struct pike_string *s;
};
/* Prototypes begin here */
void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind);
void o_index(void);
void o_cast_to_int(void);
void o_cast_to_string(void);
void o_cast(struct pike_type *type, INT32 run_time_type);
PMOD_EXPORT void f_cast(void);
PMOD_EXPORT void f_ne(INT32 args);
COMPARISON(f_eq,"`==", is_eq)
COMPARISON(f_lt,"`<" , is_lt)
COMPARISON(f_le,"`<=",!is_gt)
COMPARISON(f_gt,"`>" , is_gt)
COMPARISON(f_ge,"`>=",!is_lt)
PMOD_EXPORT void f_add(INT32 args);
PMOD_EXPORT void o_subtract(void);
PMOD_EXPORT void f_minus(INT32 args);
PMOD_EXPORT void o_and(void);
PMOD_EXPORT void f_and(INT32 args);
PMOD_EXPORT void o_or(void);
PMOD_EXPORT void f_or(INT32 args);
PMOD_EXPORT void o_xor(void);
PMOD_EXPORT void f_xor(INT32 args);
PMOD_EXPORT void o_lsh(void);
PMOD_EXPORT void f_lsh(INT32 args);
PMOD_EXPORT void o_rsh(void);
PMOD_EXPORT void f_rsh(INT32 args);
PMOD_EXPORT void o_multiply(void);
PMOD_EXPORT void f_multiply(INT32 args);
PMOD_EXPORT void o_divide(void);
PMOD_EXPORT void f_divide(INT32 args);
PMOD_EXPORT void o_mod(void);
PMOD_EXPORT void f_mod(INT32 args);
PMOD_EXPORT void o_not(void);
PMOD_EXPORT void f_not(INT32 args);
PMOD_EXPORT void o_compl(void);
PMOD_EXPORT void f_compl(INT32 args);
PMOD_EXPORT void o_negate(void);
PMOD_EXPORT void o_range(void);
PMOD_EXPORT void f_index(INT32 args);
PMOD_EXPORT void f_index_assign(INT32 args);
PMOD_EXPORT void f_arrow(INT32 args);
PMOD_EXPORT void f_arrow_assign(INT32 args);
PMOD_EXPORT void f_sizeof(INT32 args);
void init_operators(void);
void exit_operators(void);
/* Prototypes end here */
#undef COMPARISON
#endif