1
0
mirror of https://github.com/deuill/go-php.git synced 2024-09-21 17:00:45 +00:00
go-php/value/value.h

17 lines
575 B
C
Raw Normal View History

// Copyright 2015 Alexander Palaistras. All rights reserved.
// Use of this source code is governed by the MIT license that can be found in
// the LICENSE file.
#ifndef VALUE_H
#define VALUE_H
2015-09-26 19:40:41 +00:00
void *value_create_long(long int value);
void *value_create_double(double value);
void *value_create_bool(bool value);
void *value_create_string(char *value);
2015-10-01 21:57:17 +00:00
void *value_create_array(unsigned int size);
void value_array_set_index(void *arr, unsigned long idx, void *val);
void value_array_set_key(void *arr, const char *key, void *val);
void value_destroy(void *zvalptr);
#endif