[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cinvoke-svn] r40 - in trunk/cinvoke: bindings/lua lib
From: |
will |
Subject: |
[cinvoke-svn] r40 - in trunk/cinvoke: bindings/lua lib |
Date: |
23 Jun 2006 23:45:20 -0400 |
Author: will
Date: 2006-06-23 23:45:19 -0400 (Fri, 23 Jun 2006)
New Revision: 40
Modified:
trunk/cinvoke/bindings/lua/cinvoke_lua.c
trunk/cinvoke/lib/cinvoke.h
trunk/cinvoke/lib/structure.c
Log:
changed function name
Modified: trunk/cinvoke/bindings/lua/cinvoke_lua.c
===================================================================
--- trunk/cinvoke/bindings/lua/cinvoke_lua.c 2006-06-24 03:27:53 UTC (rev 39)
+++ trunk/cinvoke/bindings/lua/cinvoke_lua.c 2006-06-24 03:45:19 UTC (rev 40)
@@ -204,7 +204,7 @@
}
lua_setfield(l, -2, "members");
- if (!cinv_structure_get_size(ctx, st, &size)) {
+ if (!cinv_structure_getsize(ctx, st, &size)) {
lua_pushstring(l, cinv_context_get_errormsg(ctx));
goto error;
}
Modified: trunk/cinvoke/lib/cinvoke.h
===================================================================
--- trunk/cinvoke/lib/cinvoke.h 2006-06-24 03:27:53 UTC (rev 39)
+++ trunk/cinvoke/lib/cinvoke.h 2006-06-24 03:45:19 UTC (rev 40)
@@ -318,15 +318,15 @@
/** Returns the size, in bytes, of a structure.
* \param[in] context A C/Invoke context.
* \param[in] structure The structure description.
+* \param[out] size_out The number of bytes required to hold the structure
+* in memory.
* \return A standard C/Invoke status code.
*/
-cinv_status_t cinv_structure_get_size(CInvContext *context,
+cinv_status_t cinv_structure_getsize(CInvContext *context,
CInvStructure *structure, int *size_out);
/** Allocates memory for a structure instance.
* \param[in] context A C/Invoke context.
* \param[in] structure The structure description to allocate memory for.
-* \param[out] size_out The number of bytes required to hold the structure
-* in memory.
* \return A pointer to memory which can hold the given structure.
*/
void *cinv_structure_create_instance(CInvContext *context,
Modified: trunk/cinvoke/lib/structure.c
===================================================================
--- trunk/cinvoke/lib/structure.c 2006-06-24 03:27:53 UTC (rev 39)
+++ trunk/cinvoke/lib/structure.c 2006-06-24 03:45:19 UTC (rev 40)
@@ -170,7 +170,7 @@
context_clear_error(context);
return CINV_SUCCESS;
}
-cinv_status_t cinv_structure_get_size(CInvContext *context,
+cinv_status_t cinv_structure_getsize(CInvContext *context,
CInvStructure *structure, int *size_out) {
if (!structure->finished) {
context_set_error(context, CINV_E_INVAL,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cinvoke-svn] r40 - in trunk/cinvoke: bindings/lua lib,
will <=