1
0
mirror of https://github.com/deuill/go-php.git synced 2024-09-21 08:50:45 +00:00
go-php/value/value.h
Alex Palaistras 8a2ce468e2 Add documentation blocks.
Added documentation blocks and licence headers to all files.
2015-10-04 19:28:44 +01:00

17 lines
575 B
C

// 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
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);
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