Skip to content

Commit 3c8714f

Browse files
committed
carray development version -1.0.1,
1 parent eda0b9d commit 3c8714f

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/carray_capi.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#endif
1212

1313
#define CARRAY_CAPI_ID_STRING "_capi_carray"
14-
#define CARRAY_CAPI_VERSION_MAJOR 0
14+
#define CARRAY_CAPI_VERSION_MAJOR -1
1515
#define CARRAY_CAPI_VERSION_MINOR 0
1616
#define CARRAY_CAPI_VERSION_PATCH 1
1717

@@ -117,14 +117,12 @@ struct carray_capi
117117
* releaseCallback - is called by the carray object if the reference to the underlying
118118
* data is not any longer needed. This callback may also be NULL
119119
* for the case of static data.
120-
* resizeCallback - may be NULL if the content is readonly or not resizable.
121120
*
122121
* Returns NULL pointer on parameter error.
123122
* This function may also raise a Lua error.
124123
*/
125124
carray* (*newCarrayRef)(lua_State* L, carray_type t, carray_attr attr, void* dataRef, size_t elementCount,
126-
void (*releaseCallback)(void* dataRef, size_t elementCount),
127-
void* (*resizeCallback)(void* dataRef, size_t oldElementCount, size_t newElementCount));
125+
void (*releaseCallback)(void* dataRef, size_t elementCount));
128126

129127
/**
130128
* Returns a valid pointer if the Lua object at the given stack

0 commit comments

Comments
 (0)