12 #define SWIG_LUA_TARGET SWIG_LUA_FLAVOR_LUA
13 #define SWIG_LUA_MODULE_GLOBAL
21 #ifndef SWIGTEMPLATEDISAMBIGUATOR
22 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
23 # define SWIGTEMPLATEDISAMBIGUATOR template
24 # elif defined(__HP_aCC)
27 # define SWIGTEMPLATEDISAMBIGUATOR template
29 # define SWIGTEMPLATEDISAMBIGUATOR
35 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
36 # define SWIGINLINE inline
44 # if defined(__GNUC__)
45 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
46 # define SWIGUNUSED __attribute__ ((__unused__))
51 # define SWIGUNUSED __attribute__ ((__unused__))
57 #ifndef SWIG_MSC_UNSUPPRESS_4505
58 # if defined(_MSC_VER)
59 # pragma warning(disable : 4505)
63 #ifndef SWIGUNUSEDPARM
65 # define SWIGUNUSEDPARM(p)
67 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
73 # define SWIGINTERN static SWIGUNUSED
77 #ifndef SWIGINTERNINLINE
78 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
82 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
83 # ifndef GCC_HASCLASSVISIBILITY
84 # define GCC_HASCLASSVISIBILITY
89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90 # if defined(STATIC_LINKED)
93 # define SWIGEXPORT __declspec(dllexport)
96 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
97 # define SWIGEXPORT __attribute__ ((visibility("default")))
106 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
107 # define SWIGSTDCALL __stdcall
114 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
115 # define _CRT_SECURE_NO_DEPRECATE
119 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
120 # define _SCL_SECURE_NO_DEPRECATE
133 #define SWIG_RUNTIME_VERSION "4"
136 #ifdef SWIG_TYPE_TABLE
137 # define SWIG_QUOTE_STRING(x) #x
138 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
139 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
141 # define SWIG_TYPE_TABLE_NAME
154 # define SWIGRUNTIME SWIGINTERN
157 #ifndef SWIGRUNTIMEINLINE
158 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
162 #ifndef SWIG_BUFFER_SIZE
163 # define SWIG_BUFFER_SIZE 1024
167 #define SWIG_POINTER_DISOWN 0x1
168 #define SWIG_CAST_NEW_MEMORY 0x2
171 #define SWIG_POINTER_OWN 0x1
254 #define SWIG_ERROR (-1)
255 #define SWIG_IsOK(r) (r >= 0)
256 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
259 #define SWIG_CASTRANKLIMIT (1 << 8)
261 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
263 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
265 #define SWIG_BADOBJ (SWIG_ERROR)
266 #define SWIG_OLDOBJ (SWIG_OK)
267 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
268 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
270 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
271 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
272 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
273 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
274 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
275 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
278 #if defined(SWIG_CASTRANK_MODE)
279 # ifndef SWIG_TypeRank
280 # define SWIG_TypeRank unsigned long
282 # ifndef SWIG_MAXCASTRANK
283 # define SWIG_MAXCASTRANK (2)
285 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
286 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
291 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
294 # define SWIG_AddCast(r) (r)
295 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
305 typedef void *(*swig_converter_func)(
void *,
int *);
347 const char *f2,
const char *l2) {
348 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
349 while ((*f1 ==
' ') && (f1 != l1)) ++f1;
350 while ((*f2 ==
' ') && (f2 != l2)) ++f2;
351 if (*f1 != *f2)
return (*f1 > *f2) ? 1 : -1;
353 return (
int)((l1 - f1) - (l2 - f2));
363 const char* te = tb + strlen(tb);
365 while (equiv != 0 && *ne) {
366 for (nb = ne; *ne; ++ne) {
367 if (*ne ==
'|')
break;
392 if (strcmp(iter->
type->
name, c) == 0) {
393 if (iter == ty->
cast)
419 if (iter->
type == from) {
420 if (iter == ty->
cast)
452 if (!ty || !ty->
dcast)
return ty;
453 while (ty && (ty->
dcast)) {
454 ty = (*ty->
dcast)(ptr);
478 if (!type)
return NULL;
479 if (type->
str != NULL) {
480 const char *last_name = type->
str;
482 for (s = type->
str; *s; s++)
483 if (*s ==
'|') last_name = s+1;
530 register size_t l = 0;
531 register size_t r = iter->
size - 1;
534 register size_t i = (l + r) >> 1;
535 const char *iname = iter->
types[i]->
name;
537 register int compare = strcmp(name, iname);
539 return iter->
types[i];
540 }
else if (compare < 0) {
546 }
else if (compare > 0) {
555 }
while (iter != end);
581 register size_t i = 0;
582 for (; i < iter->
size; ++i) {
584 return iter->
types[i];
587 }
while (iter != end);
599 static const char hex[17] =
"0123456789abcdef";
600 register const unsigned char *u = (
unsigned char *) ptr;
601 register const unsigned char *eu = u + sz;
602 for (; u != eu; ++u) {
603 register unsigned char uu = *u;
604 *(c++) = hex[(uu & 0xf0) >> 4];
605 *(c++) = hex[uu & 0xf];
615 register unsigned char *u = (
unsigned char *) ptr;
616 register const unsigned char *eu = u + sz;
617 for (; u != eu; ++u) {
618 register char d = *(c++);
619 register unsigned char uu;
620 if ((d >=
'0') && (d <=
'9'))
621 uu = ((d -
'0') << 4);
622 else if ((d >=
'a') && (d <=
'f'))
623 uu = ((d - (
'a'-10)) << 4);
627 if ((d >=
'0') && (d <=
'9'))
629 else if ((d >=
'a') && (d <=
'f'))
630 uu |= (d - (
'a'-10));
644 if ((2*
sizeof(
void *) + 2) > bsz)
return 0;
647 if (strlen(name) + 1 > (bsz - (r - buff)))
return 0;
655 if (strcmp(c,
"NULL") == 0) {
668 size_t lname = (name ? strlen(name) : 0);
669 if ((2*sz + 2 + lname) > bsz)
return 0;
673 strncpy(r,name,lname+1);
683 if (strcmp(c,
"NULL") == 0) {
718 #define SWIG_LUA_FLAVOR_LUA 1
719 #define SWIG_LUA_FLAVOR_ELUA 2
720 #define SWIG_LUA_FLAVOR_ELUAC 3
722 #if !defined(SWIG_LUA_TARGET)
723 # error SWIG_LUA_TARGET not defined
726 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
727 # define SWIG_LUA_CONSTTAB_INT(B, C) LSTRKEY(B), LNUMVAL(C)
728 # define SWIG_LUA_CONSTTAB_FLOAT(B, C) LSTRKEY(B), LNUMVAL(C)
729 # define SWIG_LUA_CONSTTAB_STRING(B, C) LSTRKEY(B), LSTRVAL(C)
730 # define SWIG_LUA_CONSTTAB_CHAR(B, C) LSTRKEY(B), LNUMVAL(C)
732 # define SWIG_LUA_CONSTTAB_INT(B, C) SWIG_LUA_INT, (char *)B, (long)C, 0, 0, 0
733 # define SWIG_LUA_CONSTTAB_FLOAT(B, C) SWIG_LUA_FLOAT, (char *)B, 0, (double)C, 0, 0
734 # define SWIG_LUA_CONSTTAB_STRING(B, C) SWIG_LUA_STRING, (char *)B, 0, 0, (void *)C, 0
735 # define SWIG_LUA_CONSTTAB_CHAR(B, C) SWIG_LUA_CHAR, (char *)B, (long)C, 0, 0, 0
738 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
739 # define LRO_STRVAL(v) {{.p = (char *) v}, LUA_TSTRING}
740 # define LSTRVAL LRO_STRVAL
755 #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501
756 # define lua_rawlen lua_strlen
757 #elif LUA_VERSION_NUM == 501
758 # define lua_rawlen lua_objlen
765 #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 502
766 # define lua_pushglobaltable(L) lua_pushvalue(L, LUA_GLOBALSINDEX)
781 lua_pushstring (L, str);
794 lua_pushvfstring(L, fmt, argp);
804 #define SWIG_LUA_INT 1
805 #define SWIG_LUA_FLOAT 2
806 #define SWIG_LUA_STRING 3
807 #define SWIG_LUA_POINTER 4
808 #define SWIG_LUA_BINARY 5
809 #define SWIG_LUA_CHAR 6
880 #define SWIG_NewPointerObj(L, ptr, type, owner) SWIG_Lua_NewPointerObj(L, (void *)ptr, type, owner)
881 #define SWIG_ConvertPtr(L,idx, ptr, type, flags) SWIG_Lua_ConvertPtr(L,idx,ptr,type,flags)
882 #define SWIG_MustGetPtr(L,idx, type,flags, argnum,fnname) SWIG_Lua_MustGetPtr(L,idx, type,flags, argnum,fnname)
884 #define SWIG_ConvertMember(L, idx, ptr, sz, ty) SWIG_Lua_ConvertPacked(L, idx, ptr, sz, ty)
885 #define SWIG_NewMemberObj(L, ptr, sz, type) SWIG_Lua_NewPackedObj(L, ptr, sz, type)
888 #define SWIG_GetModule(clientdata) SWIG_Lua_GetModule((lua_State*)(clientdata))
889 #define SWIG_SetModule(clientdata, pointer) SWIG_Lua_SetModule((lua_State*) (clientdata), pointer)
890 #define SWIG_MODULE_CLIENTDATA_TYPE lua_State*
893 #define SWIG_contract_assert(expr, msg) \
894 if (!(expr)) { SWIG_Lua_pusherrstring(L, (char *) msg); goto fail; } else
898 #define SWIG_fail {goto fail;}
899 #define SWIG_fail_arg(func_name,argnum,type) \
900 {SWIG_Lua_pushferrstring(L,"Error in %s (arg %d), expected '%s' got '%s'",\
901 func_name,argnum,type,SWIG_Lua_typename(L,argnum));\
903 #define SWIG_fail_ptr(func_name,argnum,type) \
904 SWIG_fail_arg(func_name,argnum,(type && type->str)?type->str:"void*")
905 #define SWIG_check_num_args(func_name,a,b) \
906 if (lua_gettop(L)<a || lua_gettop(L)>b) \
907 {SWIG_Lua_pushferrstring(L,"Error in %s expected %d..%d args, got %d",func_name,a,b,lua_gettop(L));\
911 #define SWIG_Lua_get_table(L,n) \
912 (lua_pushstring(L, n), lua_rawget(L,-2))
914 #define SWIG_Lua_add_function(L,n,f) \
915 (lua_pushstring(L, n), \
916 lua_pushcfunction(L, f), \
920 #define SWIG_isptrtype(L,I) (lua_isuserdata(L,I) || lua_isnil(L,I))
933 lua_rawget(L,LUA_REGISTRYINDEX);
934 if (lua_islightuserdata(L,-1))
944 lua_pushlightuserdata(L,(
void*)module);
945 lua_rawset(L,LUA_REGISTRYINDEX);
958 #ifndef SWIGLUA_IGNORE_SET_IMMUTABLE
960 luaL_error(L,
"This variable is immutable");
976 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
977 assert(lua_isrotable(L,1));
979 assert(lua_istable(L,1));
981 lua_getmetatable(L,1);
982 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
983 assert(lua_isrotable(L,-1));
985 assert(lua_istable(L,-1));
989 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
990 if (lua_isrotable(L,-1))
992 if (lua_istable(L,-1))
999 if (lua_iscfunction(L,-1))
1020 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
1021 assert(lua_isrotable(L,1));
1023 assert(lua_istable(L,1));
1025 lua_getmetatable(L,1);
1026 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
1027 assert(lua_isrotable(L,-1));
1029 assert(lua_istable(L,-1));
1033 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
1034 if (lua_isrotable(L,-1))
1036 if (lua_istable(L,-1))
1043 if (lua_iscfunction(L,-1))
1049 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA)
1061 #if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC))
1065 assert(lua_istable(L,-1));
1066 lua_pushstring(L,name);
1072 lua_pushstring(L,
".get");
1075 lua_pushstring(L,
".set");
1078 lua_setmetatable(L,-2);
1079 #ifdef SWIG_LUA_MODULE_GLOBAL
1100 assert(lua_istable(L,-1));
1101 lua_getmetatable(L,-1);
1102 assert(lua_istable(L,-1));
1104 assert(lua_istable(L,-1));
1110 assert(lua_istable(L,-1));
1134 assert(lua_istable(L,-2));
1135 lua_getmetatable(L,-2);
1136 assert(lua_istable(L,-1));
1138 assert(lua_istable(L,-1));
1143 if (lua_iscfunction(L,-1))
1152 assert(lua_istable(L,-1));
1156 if (lua_isfunction(L,-1))
1173 assert(lua_istable(L,1));
1174 lua_getmetatable(L,1);
1175 assert(lua_istable(L,-1));
1178 if (lua_istable(L,-1))
1183 if (lua_iscfunction(L,-1))
1202 assert(lua_istable(L,-1));
1206 lua_getmetatable(L,-1);
1215 assert(lua_istable(L,-1));
1229 assert(lua_istable(L,-1));
1230 lua_checkstack(L,5);
1231 lua_pushstring(L, ns->
name);
1236 lua_pushstring(L,
".get");
1240 lua_pushstring(L,
".set");
1244 lua_pushstring(L,
".fn");
1252 lua_setmetatable(L,-2);
1267 assert(lua_isuserdata(L,-2));
1268 lua_getmetatable(L,-2);
1269 assert(lua_istable(L,-1));
1271 assert(lua_istable(L,-1));
1276 if (lua_iscfunction(L,-1))
1286 assert(lua_istable(L,-1));
1290 if (lua_isfunction(L,-1))
1299 if (lua_iscfunction(L,-1))
1322 assert(lua_isuserdata(L,1));
1323 lua_getmetatable(L,1);
1324 assert(lua_istable(L,-1));
1327 if (lua_istable(L,-1))
1332 if (lua_iscfunction(L,-1))
1345 if (lua_iscfunction(L,-1))
1364 assert(lua_isuserdata(L,-1));
1383 assert(lua_isuserdata(L,1));
1384 unsigned long userData = (
unsigned long)lua_touserdata(L,1);
1385 lua_getmetatable(L,1);
1386 assert(lua_istable(L,-1));
1388 lua_getfield(L, -1,
".type");
1389 const char* className = lua_tostring(L, -1);
1392 sprintf(output,
"<%s userdata: %lX>", className, userData);
1394 lua_pushstring(L, (
const char*)output);
1404 assert(lua_isuserdata(L,-1));
1419 assert(lua_istable(L,1));
1420 lua_pushstring(L,
".constructor");
1422 assert(!lua_isnil(L,-1));
1424 lua_call(L,lua_gettop(L)-1,1);
1432 lua_pushstring(L,
"SWIG");
1433 lua_rawget(L,LUA_REGISTRYINDEX);
1434 if (!lua_istable(L,-1))
1437 lua_pushstring(L,
"SWIG");
1439 lua_rawset(L,LUA_REGISTRYINDEX);
1441 lua_pushstring(L,
"SWIG");
1442 lua_rawget(L,LUA_REGISTRYINDEX);
1450 lua_pushstring(L,cname);
1458 assert(lua_istable(L,-1));
1460 assert(lua_istable(L,-1));
1466 assert(lua_istable(L,-1));
1477 assert(lua_istable(L,-1));
1479 for(i=0;clss->
bases[i];i++)
1492 for(i=0;clss->
bases[i];i++)
1502 assert(lua_istable(L,-1));
1531 if (clss->
bases[i]==0)
1543 lua_checkstack(L,5);
1544 assert(lua_istable(L,-1));
1550 assert(lua_istable(L,-1));
1559 lua_getmetatable(L,-1);
1560 assert(lua_istable(L,-1));
1565 assert(lua_istable(L,-1));
1578 lua_pushstring(L,clss->
name);
1581 lua_pushstring(L,
".type");
1582 lua_pushstring(L,clss->
name);
1585 lua_pushstring(L,
".get");
1589 lua_pushstring(L,
".set");
1593 lua_pushstring(L,
".fn");
1623 if (lua_istable(L,-1))
1625 lua_setmetatable(L,-2);
1646 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
1657 if (lua_isnil(L,index)){*ptr=0;
return SWIG_OK;}
1683 int argnum,
const char* func_name){
1686 luaL_error (L,
"Error in %s, expected a %s at argument number %d\n",
1687 func_name,(type && type->
str)?type->
str:
"void*",argnum);
1700 memcpy(raw->
data,ptr,size);
1710 if (type==0 || type==raw->
type)
1712 memcpy(ptr,raw->
data,size);
1722 if (lua_isuserdata(L,tp))
1727 return "userdata (unknown type)";
1729 return lua_typename(L,lua_type(L,tp));
1746 if (!lua_isuserdata(L,1) || !lua_isuserdata(L,2))
1751 result=(usr1->
ptr==usr2->
ptr);
1752 lua_pushboolean(L,result);
1760 #if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC))
1765 for (i = 0; constants[i].
type; i++) {
1766 switch(constants[i].type) {
1768 lua_pushstring(L,constants[i].
name);
1769 lua_pushnumber(L,(lua_Number)constants[i].lvalue);
1773 lua_pushstring(L,constants[i].name);
1774 lua_pushnumber(L,(lua_Number)constants[i].dvalue);
1778 lua_pushstring(L,constants[i].name);
1779 lua_pushfstring(L,
"%c",(
char)constants[i].lvalue);
1783 lua_pushstring(L,constants[i].name);
1784 lua_pushstring(L,(
char *) constants[i].pvalue);
1788 lua_pushstring(L,constants[i].name);
1793 lua_pushstring(L,constants[i].name);
1794 SWIG_NewMemberObj(L,constants[i].pvalue,constants[i].lvalue,*(constants[i]).ptype);
1808 #ifndef SWIG_DOSTRING_FAIL
1809 #define SWIG_DOSTRING_FAIL(S) fprintf(stderr,"%s\n",S)
1819 if (str==0 || str[0]==0)
return 0;
1821 #if (defined(LUA_VERSION_NUM) && (LUA_VERSION_NUM>=501))
1822 ok=luaL_dostring(L,str);
1824 ok=lua_dostring(L,str);
1842 #define SWIGTYPE_p_PLGraphicsIn swig_types[0]
1843 #define SWIGTYPE_p_char swig_types[1]
1844 #define SWIGTYPE_p_double swig_types[2]
1845 #define SWIGTYPE_p_f_double_double__int swig_types[3]
1846 #define SWIGTYPE_p_f_double_double_p_double_p_double_p_void__void swig_types[4]
1847 #define SWIGTYPE_p_f_int_double_p_char_int_p_void__void swig_types[5]
1848 #define SWIGTYPE_p_f_int_p_double_p_double__void swig_types[6]
1849 #define SWIGTYPE_p_f_int_p_q_const__double_p_q_const__double__void swig_types[7]
1850 #define SWIGTYPE_p_int swig_types[8]
1851 #define SWIGTYPE_p_p_char swig_types[9]
1852 #define SWIGTYPE_p_p_double swig_types[10]
1853 #define SWIGTYPE_p_unsigned_int swig_types[11]
1856 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1857 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1861 #define SWIG_name "plplotluac"
1862 #define SWIG_init luaopen_plplotluac
1863 #define SWIG_init_user luaopen_plplotluac_user
1865 #define SWIG_LUACODE luaopen_plplotluac_luacode
1870 #define LUA_ALLOC_ARRAY( TYPE, LEN ) (TYPE *) malloc( LEN * sizeof ( TYPE ) )
1871 #define LUA_FREE_ARRAY( PTR ) if ( PTR ) { free( PTR ); PTR = NULL;}
1875 #define LUA_DECLARE_TYPEMAP_ARR_FN( NAME, TYPE ) \
1876 SWIGINTERN int LUA_read_ ## NAME ## _num_array( lua_State * L, int index, TYPE * array, int size ){ \
1878 for ( i = 0; i < size; i++ ) { \
1879 lua_rawgeti( L, index, i + 1 ); \
1880 if ( lua_isnumber( L, -1 ) ) { \
1881 array[i] = (TYPE) lua_tonumber( L, -1 ); \
1890 SWIGINTERN TYPE* LUA_get_ ## NAME ## _num_array_var( lua_State * L, int index, int* size ) \
1893 if ( !lua_istable( L, index ) ) { \
1894 lua_pushstring( L, "expected a table" ); \
1897 *size = SWIG_itable_size( L, index ); \
1898 if ( *size < 1 ) { \
1899 array = LUA_ALLOC_ARRAY( TYPE, 1 ); \
1900 array[0] = (TYPE) 0; \
1903 array = LUA_ALLOC_ARRAY( TYPE, *size ); \
1904 if ( !LUA_read_ ## NAME ## _num_array( L, index, array, *size ) ) { \
1905 lua_pushstring( L, "table must contain numbers" ); \
1906 LUA_FREE_ARRAY( array ); \
1921 #define SWIG_ALLOC_ARRAY(TYPE,LEN) new TYPE[LEN]
1922 #define SWIG_FREE_ARRAY(PTR) delete[] PTR
1924 #define SWIG_ALLOC_ARRAY(TYPE,LEN) (TYPE *)malloc(LEN*sizeof(TYPE))
1925 #define SWIG_FREE_ARRAY(PTR) free(PTR)
1932 lua_rawgeti(L,index,n+1);
1933 if (lua_isnil(L,-1))
break;
1945 while (lua_next(L, index) != 0) {
1953 #define SWIG_DECLARE_TYPEMAP_ARR_FN(NAME,TYPE)\
1954 SWIGINTERN int SWIG_read_##NAME##_num_array(lua_State* L,int index,TYPE *array,int size){\
1956 for (i = 0; i < size; i++) {\
1957 lua_rawgeti(L,index,i+1);\
1958 if (lua_isnumber(L,-1)){\
1959 array[i] = (TYPE)lua_tonumber(L,-1);\
1968 SWIGINTERN TYPE* SWIG_get_##NAME##_num_array_fixed(lua_State* L, int index, int size){\
1970 if (!lua_istable(L,index) || SWIG_itable_size(L,index) != size) {\
1971 SWIG_Lua_pushferrstring(L,"expected a table of size %d",size);\
1974 array=SWIG_ALLOC_ARRAY(TYPE,size);\
1975 if (!SWIG_read_##NAME##_num_array(L,index,array,size)){\
1976 SWIG_Lua_pusherrstring(L,"table must contain numbers");\
1977 SWIG_FREE_ARRAY(array);\
1982 SWIGINTERN TYPE* SWIG_get_##NAME##_num_array_var(lua_State* L, int index, int* size)\
1985 if (!lua_istable(L,index)) {\
1986 SWIG_Lua_pusherrstring(L,"expected a table");\
1989 *size=SWIG_itable_size(L,index);\
1991 SWIG_Lua_pusherrstring(L,"table appears to be empty");\
1994 array=SWIG_ALLOC_ARRAY(TYPE,*size);\
1995 if (!SWIG_read_##NAME##_num_array(L,index,array,*size)){\
1996 SWIG_Lua_pusherrstring(L,"table must contain numbers");\
1997 SWIG_FREE_ARRAY(array);\
2002 SWIGINTERN void SWIG_write_##NAME##_num_array(lua_State* L,TYPE *array,int size){\
2005 for (i = 0; i < size; i++){\
2006 lua_pushnumber(L,(lua_Number)array[i]);\
2007 lua_rawseti(L,-2,i+1); \
2024 for (i = 0; i < size; i++) {
2025 lua_rawgeti(L,index,i+1);
2026 if (!lua_isuserdata(L,-1) ||
SWIG_ConvertPtr(L,-1,&array[i],type,0)==-1){
2050 if (!lua_istable(L,index)) {
2070 for (i = 0; i < size; i++){
2072 lua_rawseti(L,-2,i+1);
2087 if ( !lua_istable( L, index ) )
2089 lua_pushstring( L,
"expected a table" );
2095 lua_pushstring( L,
"table appears to be empty" );
2099 for ( i = 0; i < *nx; i++ )
2102 lua_rawgeti( L, index, 1 );
2103 if ( !lua_istable( L, -1 ) )
2106 lua_pushstring( L,
"expected a table" );
2113 lua_pushstring( L,
"table appears to be empty" );
2119 for ( i = 0; i < *nx; i++ )
2121 lua_rawgeti( L, index, i + 1 );
2122 if ( !lua_istable( L, -1 ) )
2125 lua_pushstring( L,
"expected a table" );
2126 for ( j = 0; j < *ny; j++ )
2134 lua_pushstring( L,
"inconsistent table sizes" );
2135 for ( j = 0; j < i; j++ )
2141 for ( j = 0; j < *ny; j++ )
2143 lua_rawgeti( L, -1, j + 1 );
2144 if ( lua_isnumber( L, -1 ) )
2146 matrix[i][j] = (
PLFLT) lua_tonumber( L, -1 );
2151 lua_pushstring( L,
"table must contain numbers" );
2152 for ( j = 0; j < i + 1; j++ )
2173 PLFLT *xtemp, *ytemp;
2179 fprintf( stderr,
"Lua state is not set!" );
2185 lua_pushnumber(
myL, n );
2186 SWIG_write_double_num_array(
myL, x, n );
2187 SWIG_write_double_num_array(
myL, y, n );
2190 if ( lua_pcall(
myL, 3, 2, 0 ) != 0 )
2191 fprintf( stderr,
"error running function `%s':%s",
2195 if ( !lua_istable(
myL, -2 ) )
2197 fprintf( stderr,
"function `%s' must return a table as 1st result",
mapform_funcstr );
2200 if ( !lua_istable(
myL, -1 ) )
2202 fprintf( stderr,
"function `%s' must return a table as 2nd result",
mapform_funcstr );
2205 xtemp = (
PLFLT *) LUA_get_double_num_array_var(
myL, -2, &len );
2206 if ( !xtemp || len != n )
2208 fprintf( stderr,
"function `%s' must return a table of length%d",
mapform_funcstr, n );
2211 for ( i = 0; i < n; i++ )
2215 ytemp = (
PLFLT *) LUA_get_double_num_array_var(
myL, -1, &len );
2216 if ( !ytemp || len != n )
2218 fprintf( stderr,
"function `%s' must return a table of length%d",
mapform_funcstr, n );
2221 for ( i = 0; i < n; i++ )
2256 fprintf( stderr,
"Lua state is not set!" );
2262 lua_pushnumber(
myL, x );
2263 lua_pushnumber(
myL, y );
2266 if ( lua_pcall(
myL, 2, 2, 0 ) != 0 )
2267 fprintf( stderr,
"error running function `%s':%s",
2271 if ( !lua_isnumber(
myL, -2 ) )
2273 fprintf( stderr,
"function `%s' must return a number as 1st result",
mypltr_funcstr );
2276 if ( !lua_isnumber(
myL, -1 ) )
2278 fprintf( stderr,
"function `%s' must return a number as 2nd result",
mypltr_funcstr );
2281 *tx = lua_tonumber(
myL, -2 );
2282 *ty = lua_tonumber(
myL, -1 );
2300 fprintf( stderr,
"Lua state is not set!" );
2305 lua_getglobal(
myL, myct_funcstr );
2306 lua_pushnumber(
myL, x );
2307 lua_pushnumber(
myL, y );
2310 if ( lua_pcall(
myL, 2, 2, 0 ) != 0 )
2311 fprintf( stderr,
"error running function `%s':%s",
2312 myct_funcstr, lua_tostring(
myL, -1 ) );
2315 if ( !lua_isnumber(
myL, -2 ) )
2317 fprintf( stderr,
"function `%s' must return a number as 1st result", myct_funcstr );
2320 if ( !lua_isnumber(
myL, -1 ) )
2322 fprintf( stderr,
"function `%s' must return a number as 2nd result", myct_funcstr );
2325 *tx = lua_tonumber(
myL, -2 );
2326 *ty = lua_tonumber(
myL, -1 );
2339 fprintf( stderr,
"Lua state is not set!" );
2344 lua_getglobal(
myL, mylabel_funcstr );
2345 lua_pushnumber(
myL, axis );
2346 lua_pushnumber(
myL, value );
2349 if ( lua_pcall(
myL, 2, 1, 0 ) != 0 )
2350 fprintf( stderr,
"error running function `%s':%s",
2351 mylabel_funcstr, lua_tostring(
myL, -1 ) );
2354 if ( !lua_isstring(
myL, -1 ) )
2356 fprintf( stderr,
"function `%s' must return a string as result", mylabel_funcstr );
2359 strncpy( label, lua_tostring(
myL, -1 ), length );
2368 int ret = lua_isstring(L, idx);
2370 ret = lua_isnil(L, idx);
2384 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"PLGraphicsIn::type",2,
"int");
2390 arg2 = (int)lua_tonumber(L, 2);
2391 if (arg1) (arg1)->type = arg2;
2415 result = (int) ((arg1)->type);
2416 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2434 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"PLGraphicsIn::state",2,
"unsigned int");
2441 arg2 = (
unsigned int)lua_tonumber(L, 2);
2442 if (arg1) (arg1)->state = arg2;
2457 unsigned int result;
2466 result = (
unsigned int) ((arg1)->state);
2467 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2485 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"PLGraphicsIn::keysym",2,
"unsigned int");
2492 arg2 = (
unsigned int)lua_tonumber(L, 2);
2493 if (arg1) (arg1)->keysym = arg2;
2508 unsigned int result;
2517 result = (
unsigned int) ((arg1)->keysym);
2518 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2536 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"PLGraphicsIn::button",2,
"unsigned int");
2543 arg2 = (
unsigned int)lua_tonumber(L, 2);
2544 if (arg1) (arg1)->button = arg2;
2559 unsigned int result;
2568 result = (
unsigned int) ((arg1)->button);
2569 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2587 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"PLGraphicsIn::subwindow",2,
"PLINT");
2593 arg2 = (
PLINT)lua_tonumber(L, 2);
2594 if (arg1) (arg1)->subwindow = arg2;
2618 result = (
PLINT) ((arg1)->subwindow);
2619 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2643 arg2 = (
char *)lua_tostring(L, 2);
2646 strncpy((
char*)arg1->
string, (
const char *)arg2, 16-1);
2675 result = (
char *)(
char *) ((arg1)->
string);
2676 lua_pushstring(L,(
const char *)result); SWIG_arg++;
2694 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"PLGraphicsIn::pX",2,
"int");
2700 arg2 = (int)lua_tonumber(L, 2);
2701 if (arg1) (arg1)->pX = arg2;
2725 result = (int) ((arg1)->pX);
2726 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2744 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"PLGraphicsIn::pY",2,
"int");
2750 arg2 = (int)lua_tonumber(L, 2);
2751 if (arg1) (arg1)->pY = arg2;
2775 result = (int) ((arg1)->pY);
2776 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2794 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"PLGraphicsIn::dX",2,
"PLFLT");
2800 arg2 = (
PLFLT)lua_tonumber(L, 2);
2801 if (arg1) (arg1)->dX = arg2;
2825 result = (
PLFLT) ((arg1)->dX);
2826 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2844 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"PLGraphicsIn::dY",2,
"PLFLT");
2850 arg2 = (
PLFLT)lua_tonumber(L, 2);
2851 if (arg1) (arg1)->dY = arg2;
2875 result = (
PLFLT) ((arg1)->dY);
2876 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2894 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"PLGraphicsIn::wX",2,
"PLFLT");
2900 arg2 = (
PLFLT)lua_tonumber(L, 2);
2901 if (arg1) (arg1)->wX = arg2;
2925 result = (
PLFLT) ((arg1)->wX);
2926 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2944 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"PLGraphicsIn::wY",2,
"PLFLT");
2950 arg2 = (
PLFLT)lua_tonumber(L, 2);
2951 if (arg1) (arg1)->wY = arg2;
2975 result = (
PLFLT) ((arg1)->wY);
2976 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3006 free((
char *) arg1);
3037 static swig_lua_class _wrap_class_PLGraphicsIn = {
"PLGraphicsIn", &
SWIGTYPE_p_PLGraphicsIn,
_wrap_new_PLGraphicsIn,
swig_delete_PLGraphicsIn,
swig_PLGraphicsIn_methods,
swig_PLGraphicsIn_attributes, {
"PLGraphicsIn",
swig_PLGraphicsIn_cls_methods,
swig_PLGraphicsIn_cls_attributes, swig_PLGraphicsIn_cls_constants },
swig_PLGraphicsIn_bases, swig_PLGraphicsIn_base_names };
3045 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"pl_setcontlabelformat",1,
"PLINT");
3046 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"pl_setcontlabelformat",2,
"PLINT");
3047 arg1 = (
PLINT)lua_tonumber(L, 1);
3048 arg2 = (
PLINT)lua_tonumber(L, 2);
3069 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"pl_setcontlabelparam",1,
"PLFLT");
3070 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"pl_setcontlabelparam",2,
"PLFLT");
3071 if(!lua_isnumber(L,3))
SWIG_fail_arg(
"pl_setcontlabelparam",3,
"PLFLT");
3072 if(!lua_isnumber(L,4))
SWIG_fail_arg(
"pl_setcontlabelparam",4,
"PLINT");
3073 arg1 = (
PLFLT)lua_tonumber(L, 1);
3074 arg2 = (
PLFLT)lua_tonumber(L, 2);
3075 arg3 = (
PLFLT)lua_tonumber(L, 3);
3076 arg4 = (
PLINT)lua_tonumber(L, 4);
3095 arg1 = (
PLINT)lua_tonumber(L, 1);
3128 arg1 = (
PLFLT)lua_tonumber(L, 1);
3129 arg2 = (
PLFLT)lua_tonumber(L, 2);
3130 arg3 = (
PLFLT)lua_tonumber(L, 3);
3131 arg4 = (
PLFLT)lua_tonumber(L, 4);
3132 arg5 = (
PLFLT)lua_tonumber(L, 5);
3133 arg6 = (
PLFLT)lua_tonumber(L, 6);
3134 arg7 = (
PLFLT)lua_tonumber(L, 7);
3135 arg8 = (
PLBOOL)lua_tonumber(L, 8);
3136 plarc(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3152 char *arg3 = (
char *) 0 ;
3155 char *arg6 = (
char *) 0 ;
3168 arg1 = (
PLFLT)lua_tonumber(L, 1);
3169 arg2 = (
PLFLT)lua_tonumber(L, 2);
3170 arg3 = (
char *)lua_tostring(L, 3);
3171 arg4 = (
PLFLT)lua_tonumber(L, 4);
3172 arg5 = (
PLINT)lua_tonumber(L, 5);
3173 arg6 = (
char *)lua_tostring(L, 6);
3174 arg7 = (
PLFLT)lua_tonumber(L, 7);
3175 arg8 = (
PLINT)lua_tonumber(L, 8);
3176 plaxes(arg1,arg2,(
char const *)arg3,arg4,arg5,(
char const *)arg6,arg7,arg8);
3200 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
3206 arg3 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp3 );
3209 if ( temp3 !=
Alen )
3211 lua_pushfstring( L,
"Tables must be of same length." );
3215 arg4 = (
PLINT)lua_tonumber(L, 3);
3216 plbin(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
3264 arg7 = (
PLFLT)lua_tonumber(L, 1);
3265 plbtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
3267 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
3268 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
3269 lua_pushnumber(L, (lua_Number) *arg3); SWIG_arg++;
3270 lua_pushnumber(L, (lua_Number) *arg4); SWIG_arg++;
3271 lua_pushnumber(L, (lua_Number) *arg5); SWIG_arg++;
3272 lua_pushnumber(L, (lua_Number) *arg6); SWIG_arg++;
3301 char *arg1 = (
char *) 0 ;
3304 char *arg4 = (
char *) 0 ;
3315 arg1 = (
char *)lua_tostring(L, 1);
3316 arg2 = (
PLFLT)lua_tonumber(L, 2);
3317 arg3 = (
PLINT)lua_tonumber(L, 3);
3318 arg4 = (
char *)lua_tostring(L, 4);
3319 arg5 = (
PLFLT)lua_tonumber(L, 5);
3320 arg6 = (
PLINT)lua_tonumber(L, 6);
3321 plbox((
char const *)arg1,arg2,arg3,(
char const *)arg4,arg5,arg6);
3335 char *arg1 = (
char *) 0 ;
3336 char *arg2 = (
char *) 0 ;
3339 char *arg5 = (
char *) 0 ;
3340 char *arg6 = (
char *) 0 ;
3343 char *arg9 = (
char *) 0 ;
3344 char *arg10 = (
char *) 0 ;
3361 arg1 = (
char *)lua_tostring(L, 1);
3362 arg2 = (
char *)lua_tostring(L, 2);
3363 arg3 = (
PLFLT)lua_tonumber(L, 3);
3364 arg4 = (
PLINT)lua_tonumber(L, 4);
3365 arg5 = (
char *)lua_tostring(L, 5);
3366 arg6 = (
char *)lua_tostring(L, 6);
3367 arg7 = (
PLFLT)lua_tonumber(L, 7);
3368 arg8 = (
PLINT)lua_tonumber(L, 8);
3369 arg9 = (
char *)lua_tostring(L, 9);
3370 arg10 = (
char *)lua_tostring(L, 10);
3371 arg11 = (
PLFLT)lua_tonumber(L, 11);
3372 arg12 = (
PLINT)lua_tonumber(L, 12);
3373 plbox3((
char const *)arg1,(
char const *)arg2,arg3,arg4,(
char const *)arg5,(
char const *)arg6,arg7,arg8,(
char const *)arg9,(
char const *)arg10,arg11,arg12);
3400 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"plcalc_world",1,
"PLFLT");
3401 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"plcalc_world",2,
"PLFLT");
3402 arg1 = (
PLFLT)lua_tonumber(L, 1);
3403 arg2 = (
PLFLT)lua_tonumber(L, 2);
3406 lua_pushnumber(L, (lua_Number) *arg3); SWIG_arg++;
3407 lua_pushnumber(L, (lua_Number) *arg4); SWIG_arg++;
3408 lua_pushnumber(L, (lua_Number) *arg5); SWIG_arg++;
3441 arg1 = (
PLINT)lua_tonumber(L, 1);
3460 arg1 = (
PLFLT)lua_tonumber(L, 1);
3488 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"plconfigtime",1,
"PLFLT");
3489 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"plconfigtime",2,
"PLFLT");
3490 if(!lua_isnumber(L,3))
SWIG_fail_arg(
"plconfigtime",3,
"PLFLT");
3491 if(!lua_isnumber(L,4))
SWIG_fail_arg(
"plconfigtime",4,
"PLINT");
3492 if(!lua_isnumber(L,5))
SWIG_fail_arg(
"plconfigtime",5,
"PLBOOL");
3493 if(!lua_isnumber(L,6))
SWIG_fail_arg(
"plconfigtime",6,
"PLINT");
3494 if(!lua_isnumber(L,7))
SWIG_fail_arg(
"plconfigtime",7,
"PLINT");
3495 if(!lua_isnumber(L,8))
SWIG_fail_arg(
"plconfigtime",8,
"PLINT");
3496 if(!lua_isnumber(L,9))
SWIG_fail_arg(
"plconfigtime",9,
"PLINT");
3497 if(!lua_isnumber(L,10))
SWIG_fail_arg(
"plconfigtime",10,
"PLINT");
3498 if(!lua_isnumber(L,11))
SWIG_fail_arg(
"plconfigtime",11,
"PLFLT");
3499 arg1 = (
PLFLT)lua_tonumber(L, 1);
3500 arg2 = (
PLFLT)lua_tonumber(L, 2);
3501 arg3 = (
PLFLT)lua_tonumber(L, 3);
3502 arg4 = (
PLINT)lua_tonumber(L, 4);
3503 arg5 = (
PLBOOL)lua_tonumber(L, 5);
3504 arg6 = (
PLINT)lua_tonumber(L, 6);
3505 arg7 = (
PLINT)lua_tonumber(L, 7);
3506 arg8 = (
PLINT)lua_tonumber(L, 8);
3507 arg9 = (
PLINT)lua_tonumber(L, 9);
3508 arg10 = (
PLINT)lua_tonumber(L, 10);
3509 arg11 = (
PLFLT)lua_tonumber(L, 11);
3510 plconfigtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
3540 cgrid111.
xg = cgrid111.
yg = cgrid111.
zg = NULL;
3541 cgrid111.
nx = cgrid111.
ny = cgrid111.
nz = 0;
3542 cgrid211.
xg = cgrid211.
yg = cgrid211.
zg = NULL;
3543 cgrid211.
nx = cgrid211.
ny = 0;
3565 arg4 = (
PLINT)lua_tonumber(L, 2);
3566 arg5 = (
PLINT)lua_tonumber(L, 3);
3567 arg6 = (
PLINT)lua_tonumber(L, 4);
3568 arg7 = (
PLINT)lua_tonumber(L, 5);
3571 arg8 = (
PLFLT *) LUA_get_double_num_array_var( L, 6, &temp );
3576 if(lua_gettop(L)>=7){
3581 if ( lua_isstring( L, 7 ) )
3583 const char* funcstr = lua_tostring( L, 7 );
3584 if ( strcmp(
"pltr0", funcstr ) == 0 )
3588 else if ( strcmp(
"pltr1", funcstr ) == 0 )
3592 else if ( strcmp(
"pltr2", funcstr ) == 0 )
3607 if(lua_gettop(L)>=8){
3612 lua_pushstring( L,
"xg" );
3613 lua_gettable( L, 8 );
3614 if ( !lua_istable( L, -1 ) )
3617 lua_pushstring( L,
"expected a table xg" );
3620 lua_rawgeti( L, -1, 1 );
3621 if ( lua_istable( L, -1 ) )
3623 else if ( lua_isnumber( L, -1 ) )
3629 lua_pushstring( L,
"expected a one or two dimensional array/table in xg" );
3633 if ( gridmode == 1 )
3635 cgrid111.
xg = (
PLFLT *) LUA_get_double_num_array_var( L, -1, &nx );
3643 lua_pushfstring( L,
"Table xg must be of length%d.",
Xlen );
3656 if ( ( nx !=
Xlen ) || ( ny !=
Ylen ) )
3659 lua_pushfstring( L,
"Vectors must match matrix." );
3667 lua_pushstring( L,
"yg" );
3668 lua_gettable( L, 8 );
3669 if ( !lua_istable( L, -1 ) )
3672 lua_pushstring( L,
"expected a table yg" );
3675 lua_rawgeti( L, -1, 1 );
3676 if ( gridmode == 2 )
3678 if ( !lua_istable( L, -1 ) )
3682 lua_pushstring( L,
"expected a two dimensional array/table in yg" );
3688 if ( !lua_isnumber( L, -1 ) )
3692 lua_pushstring( L,
"expected a one dimensional array/table in yg" );
3697 if ( gridmode == 1 )
3699 cgrid111.
yg = (
PLFLT *) LUA_get_double_num_array_var( L, -1, &ny );
3707 lua_pushfstring( L,
"Table yg must be of length%d.",
Ylen );
3720 if ( ( nx !=
Xlen ) || ( ny !=
Ylen ) )
3723 lua_pushfstring( L,
"Vectors must match matrix." );
3730 if ( gridmode == 1 )
3732 else if ( gridmode == 2 )
3736 plcont((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(
double const *)arg8,arg9,arg10,arg11);
3743 for ( i = 0; i < ii1; i++ )
3762 for ( i = 0; i <
Xlen; i++ )
3768 for ( i = 0; i <
Xlen; i++ )
3783 for ( i = 0; i < ii1; i++ )
3802 for ( i = 0; i <
Xlen; i++ )
3808 for ( i = 0; i <
Xlen; i++ )
3837 arg1 = (
PLINT)lua_tonumber(L, 1);
3838 arg2 = (
PLINT)lua_tonumber(L, 2);
3839 arg3 = (
PLINT)lua_tonumber(L, 3);
3840 arg4 = (
PLINT)lua_tonumber(L, 4);
3841 arg5 = (
PLINT)lua_tonumber(L, 5);
3842 arg6 = (
PLFLT)lua_tonumber(L, 6);
3843 plctime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
3845 lua_pushnumber(L, (lua_Number) *arg7); SWIG_arg++;
3863 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"plcpstrm",2,
"PLBOOL");
3864 arg1 = (
PLINT)lua_tonumber(L, 1);
3865 arg2 = (
PLBOOL)lua_tonumber(L, 2);
3926 arg1 = (
PLFLT)lua_tonumber(L, 1);
3927 arg2 = (
PLFLT)lua_tonumber(L, 2);
3928 arg3 = (
PLFLT)lua_tonumber(L, 3);
3929 arg4 = (
PLFLT)lua_tonumber(L, 4);
3930 arg5 = (
PLINT)lua_tonumber(L, 5);
3931 arg6 = (
PLINT)lua_tonumber(L, 6);
3932 plenv(arg1,arg2,arg3,arg4,arg5,arg6);
3960 arg1 = (
PLFLT)lua_tonumber(L, 1);
3961 arg2 = (
PLFLT)lua_tonumber(L, 2);
3962 arg3 = (
PLFLT)lua_tonumber(L, 3);
3963 arg4 = (
PLFLT)lua_tonumber(L, 4);
3964 arg5 = (
PLINT)lua_tonumber(L, 5);
3965 arg6 = (
PLINT)lua_tonumber(L, 6);
3966 plenv0(arg1,arg2,arg3,arg4,arg5,arg6);
4006 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
4012 arg3 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp3 );
4015 if ( temp3 !=
Alen )
4017 lua_pushfstring( L,
"Tables must be of same length." );
4022 arg4 = (
PLFLT *) LUA_get_double_num_array_var( L, 3, &temp4 );
4025 if ( temp4 !=
Alen )
4027 lua_pushfstring( L,
"Tables must be of same length." );
4031 plerrx(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
4073 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
4079 arg3 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp3 );
4082 if ( temp3 !=
Alen )
4084 lua_pushfstring( L,
"Tables must be of same length." );
4089 arg4 = (
PLFLT *) LUA_get_double_num_array_var( L, 3, &temp4 );
4092 if ( temp4 !=
Alen )
4094 lua_pushfstring( L,
"Tables must be of same length." );
4098 plerry(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
4154 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
4160 arg3 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp3 );
4163 if ( temp3 !=
Alen )
4165 lua_pushfstring( L,
"Tables must be of same length." );
4169 plfill(arg1,(
double const *)arg2,(
double const *)arg3);
4205 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
4211 arg3 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp3 );
4214 if ( temp3 !=
Alen )
4216 lua_pushfstring( L,
"Tables must be of same length." );
4221 arg4 = (
PLFLT *) LUA_get_double_num_array_var( L, 3, &temp4 );
4224 if ( temp4 !=
Alen )
4226 lua_pushfstring( L,
"Tables must be of same length." );
4230 plfill3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
4269 if(!lua_isnumber(L,3))
SWIG_fail_arg(
"plgradient",3,
"PLFLT");
4272 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
4278 arg3 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp3 );
4281 if ( temp3 !=
Alen )
4283 lua_pushfstring( L,
"Tables must be of same length." );
4287 arg4 = (
PLFLT)lua_tonumber(L, 3);
4288 plgradient(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
4334 arg1 = (
PLINT)lua_tonumber(L, 1);
4353 arg1 = (
PLINT)lua_tonumber(L, 1);
4378 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
4379 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
4405 arg1 = (
PLINT)lua_tonumber(L, 1);
4408 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
4409 lua_pushnumber(L, (lua_Number) *arg3); SWIG_arg++;
4410 lua_pushnumber(L, (lua_Number) *arg4); SWIG_arg++;
4439 arg1 = (
PLINT)lua_tonumber(L, 1);
4440 plgcol0a(arg1,arg2,arg3,arg4,arg5);
4442 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
4443 lua_pushnumber(L, (lua_Number) *arg3); SWIG_arg++;
4444 lua_pushnumber(L, (lua_Number) *arg4); SWIG_arg++;
4445 lua_pushnumber(L, (lua_Number) *arg5); SWIG_arg++;
4471 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
4472 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
4473 lua_pushnumber(L, (lua_Number) *arg3); SWIG_arg++;
4502 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
4503 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
4504 lua_pushnumber(L, (lua_Number) *arg3); SWIG_arg++;
4505 lua_pushnumber(L, (lua_Number) *arg4); SWIG_arg++;
4525 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
4538 char *arg1 = (
char *) 0 ;
4548 lua_pushstring( L, arg1 );
4579 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
4580 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
4581 lua_pushnumber(L, (lua_Number) *arg3); SWIG_arg++;
4582 lua_pushnumber(L, (lua_Number) *arg4); SWIG_arg++;
4602 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
4631 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
4632 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
4633 lua_pushnumber(L, (lua_Number) *arg3); SWIG_arg++;
4634 lua_pushnumber(L, (lua_Number) *arg4); SWIG_arg++;
4660 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
4661 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
4662 lua_pushnumber(L, (lua_Number) *arg3); SWIG_arg++;
4682 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
4695 char *arg1 = (
char *) 0 ;
4705 lua_pushstring( L, arg1 );
4733 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
4734 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
4735 lua_pushnumber(L, (lua_Number) *arg3); SWIG_arg++;
4755 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
4788 plgpage(arg1,arg2,arg3,arg4,arg5,arg6);
4790 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
4791 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
4792 lua_pushnumber(L, (lua_Number) *arg3); SWIG_arg++;
4793 lua_pushnumber(L, (lua_Number) *arg4); SWIG_arg++;
4794 lua_pushnumber(L, (lua_Number) *arg5); SWIG_arg++;
4795 lua_pushnumber(L, (lua_Number) *arg6); SWIG_arg++;
4838 if(!lua_isnumber(L,6))
SWIG_fail_arg(
"plgriddata",6,
"PLINT");
4839 if(!lua_isnumber(L,7))
SWIG_fail_arg(
"plgriddata",7,
"PLFLT");
4842 arg1 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
4848 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp2 );
4851 if ( temp2 !=
Alen )
4853 lua_pushfstring( L,
"Tables must be of same length." );
4859 arg3 = (
PLFLT *) LUA_get_double_num_array_var( L, 3, &temp );
4864 lua_pushfstring( L,
"Tables must be of same length." );
4871 arg5 = (
PLFLT *) LUA_get_double_num_array_var( L, 4, &temp );
4879 arg7 = (
PLFLT *) LUA_get_double_num_array_var( L, 5, &temp );
4887 for ( i = 0; i <
Xlen; i++ )
4890 for ( i = 0; i <
Xlen; i++ )
4897 arg10 = (
PLINT)lua_tonumber(L, 6);
4898 arg11 = (
PLFLT)lua_tonumber(L, 7);
4899 plgriddata((
double const *)arg1,(
double const *)arg2,(
double const *)arg3,arg4,(
double const *)arg5,arg6,(
double const *)arg7,arg8,arg9,arg10,arg11);
4907 for ( i = 0; i <
Xlen; i++ )
4909 SWIG_write_double_num_array( L, arg9[i],
Ylen );
4910 lua_rawseti( L, -2, i + 1 );
4934 for ( i = 0; i <
Xlen; i++ )
4963 for ( i = 0; i <
Xlen; i++ )
4989 plgspa(arg1,arg2,arg3,arg4);
4991 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
4992 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
4993 lua_pushnumber(L, (lua_Number) *arg3); SWIG_arg++;
4994 lua_pushnumber(L, (lua_Number) *arg4); SWIG_arg++;
5014 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
5027 char *arg1 = (
char *) 0 ;
5037 lua_pushstring( L, arg1 );
5066 plgvpd(arg1,arg2,arg3,arg4);
5068 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
5069 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
5070 lua_pushnumber(L, (lua_Number) *arg3); SWIG_arg++;
5071 lua_pushnumber(L, (lua_Number) *arg4); SWIG_arg++;
5098 plgvpw(arg1,arg2,arg3,arg4);
5100 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
5101 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
5102 lua_pushnumber(L, (lua_Number) *arg3); SWIG_arg++;
5103 lua_pushnumber(L, (lua_Number) *arg4); SWIG_arg++;
5126 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
5127 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
5150 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
5151 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
5174 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
5175 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
5202 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
5207 arg3 = (
PLFLT)lua_tonumber(L, 2);
5208 arg4 = (
PLFLT)lua_tonumber(L, 3);
5209 arg5 = (
PLINT)lua_tonumber(L, 4);
5210 arg6 = (
PLINT)lua_tonumber(L, 5);
5211 plhist(arg1,(
double const *)arg2,arg3,arg4,arg5,arg6);
5248 arg1 = (
PLFLT)lua_tonumber(L, 1);
5249 arg2 = (
PLFLT)lua_tonumber(L, 2);
5250 arg3 = (
PLFLT)lua_tonumber(L, 3);
5251 plhlsrgb(arg1,arg2,arg3,arg4,arg5,arg6);
5253 lua_pushnumber(L, (lua_Number) *arg4); SWIG_arg++;
5254 lua_pushnumber(L, (lua_Number) *arg5); SWIG_arg++;
5255 lua_pushnumber(L, (lua_Number) *arg6); SWIG_arg++;
5294 arg1 = (
PLFLT)lua_tonumber(L, 1);
5295 arg2 = (
PLFLT)lua_tonumber(L, 2);
5296 arg3 = (
PLFLT)lua_tonumber(L, 3);
5297 arg4 = (
PLFLT)lua_tonumber(L, 4);
5298 pljoin(arg1,arg2,arg3,arg4);
5312 char *arg1 = (
char *) 0 ;
5313 char *arg2 = (
char *) 0 ;
5314 char *arg3 = (
char *) 0 ;
5320 arg1 = (
char *)lua_tostring(L, 1);
5321 arg2 = (
char *)lua_tostring(L, 2);
5322 arg3 = (
char *)lua_tostring(L, 3);
5323 pllab((
char const *)arg1,(
char const *)arg2,(
char const *)arg3);
5356 char **arg20 = (
char **) 0 ;
5367 char **arg31 = (
char **) 0 ;
5424 if(!lua_isnumber(L,10))
SWIG_fail_arg(
"pllegend",10,
"PLINT");
5425 if(!lua_isnumber(L,12))
SWIG_fail_arg(
"pllegend",12,
"PLFLT");
5426 if(!lua_isnumber(L,13))
SWIG_fail_arg(
"pllegend",13,
"PLFLT");
5427 if(!lua_isnumber(L,14))
SWIG_fail_arg(
"pllegend",14,
"PLFLT");
5428 if(!lua_isnumber(L,15))
SWIG_fail_arg(
"pllegend",15,
"PLFLT");
5429 if(!lua_istable(L,17))
SWIG_fail_arg(
"pllegend",17,
"char const **");
5430 if(lua_gettop(L)>=28 && !lua_istable(L,28))
SWIG_fail_arg(
"pllegend",28,
"char const **");
5431 arg3 = (
PLINT)lua_tonumber(L, 1);
5432 arg4 = (
PLINT)lua_tonumber(L, 2);
5433 arg5 = (
PLFLT)lua_tonumber(L, 3);
5434 arg6 = (
PLFLT)lua_tonumber(L, 4);
5435 arg7 = (
PLFLT)lua_tonumber(L, 5);
5436 arg8 = (
PLINT)lua_tonumber(L, 6);
5437 arg9 = (
PLINT)lua_tonumber(L, 7);
5438 arg10 = (
PLINT)lua_tonumber(L, 8);
5439 arg11 = (
PLINT)lua_tonumber(L, 9);
5440 arg12 = (
PLINT)lua_tonumber(L, 10);
5442 arg14 = (
PLINT *) LUA_get_int_num_array_var( L, 11, &arg13 );
5447 arg15 = (
PLFLT)lua_tonumber(L, 12);
5448 arg16 = (
PLFLT)lua_tonumber(L, 13);
5449 arg17 = (
PLFLT)lua_tonumber(L, 14);
5450 arg18 = (
PLFLT)lua_tonumber(L, 15);
5452 arg19 = (
PLINT *) LUA_get_int_num_array_var( L, 16, &temp19 );
5455 if ( temp19 !=
Alen )
5457 lua_pushfstring( L,
"Tables must be of same length." );
5467 lua_pushfstring( L,
"Tables must be of same length." );
5470 arg20 = malloc(
sizeof (
char* ) *
Alen );
5471 for ( i = 1; i <=
Alen; i++ )
5473 lua_rawgeti( L, 17, i );
5474 if ( lua_isstring( L, -1 ) )
5476 arg20[i - 1] = (
char *) lua_tostring( L, -1 );
5481 lua_pushfstring( L,
"Requires a sequence of strings." );
5488 if(lua_gettop(L)>=18){
5490 if ( lua_isnil( L, 18 ) )
5496 arg21 = (
PLINT *) LUA_get_int_num_array_var( L, 18, &temp21 );
5499 if ( temp21 !=
Alen )
5501 lua_pushfstring( L,
"Tables must be of same length." );
5507 if(lua_gettop(L)>=19){
5509 if ( lua_isnil( L, 19 ) )
5515 arg22 = (
PLINT *) LUA_get_int_num_array_var( L, 19, &temp22 );
5518 if ( temp22 !=
Alen )
5520 lua_pushfstring( L,
"Tables must be of same length." );
5526 if(lua_gettop(L)>=20){
5528 if ( lua_isnil( L, 20 ) )
5534 arg23 = (
PLFLT *) LUA_get_double_num_array_var( L, 20, &temp23 );
5537 if ( temp23 !=
Alen )
5539 lua_pushfstring( L,
"Tables must be of same length." );
5545 if(lua_gettop(L)>=21){
5547 if ( lua_isnil( L, 21 ) )
5553 arg24 = (
PLFLT *) LUA_get_double_num_array_var( L, 21, &temp24 );
5556 if ( temp24 !=
Alen )
5558 lua_pushfstring( L,
"Tables must be of same length." );
5564 if(lua_gettop(L)>=22){
5566 if ( lua_isnil( L, 22 ) )
5572 arg25 = (
PLINT *) LUA_get_int_num_array_var( L, 22, &temp25 );
5575 if ( temp25 !=
Alen )
5577 lua_pushfstring( L,
"Tables must be of same length." );
5583 if(lua_gettop(L)>=23){
5585 if ( lua_isnil( L, 23 ) )
5591 arg26 = (
PLINT *) LUA_get_int_num_array_var( L, 23, &temp26 );
5594 if ( temp26 !=
Alen )
5596 lua_pushfstring( L,
"Tables must be of same length." );
5602 if(lua_gettop(L)>=24){
5604 if ( lua_isnil( L, 24 ) )
5610 arg27 = (
PLFLT *) LUA_get_double_num_array_var( L, 24, &temp27 );
5613 if ( temp27 !=
Alen )
5615 lua_pushfstring( L,
"Tables must be of same length." );
5621 if(lua_gettop(L)>=25){
5623 if ( lua_isnil( L, 25 ) )
5629 arg28 = (
PLINT *) LUA_get_int_num_array_var( L, 25, &temp28 );
5632 if ( temp28 !=
Alen )
5634 lua_pushfstring( L,
"Tables must be of same length." );
5640 if(lua_gettop(L)>=26){
5642 if ( lua_isnil( L, 26 ) )
5648 arg29 = (
PLFLT *) LUA_get_double_num_array_var( L, 26, &temp29 );
5651 if ( temp29 !=
Alen )
5653 lua_pushfstring( L,
"Tables must be of same length." );
5659 if(lua_gettop(L)>=27){
5661 if ( lua_isnil( L, 27 ) )
5667 arg30 = (
PLINT *) LUA_get_int_num_array_var( L, 27, &temp30 );
5670 if ( temp30 !=
Alen )
5672 lua_pushfstring( L,
"Tables must be of same length." );
5678 if(lua_gettop(L)>=28){
5685 lua_pushfstring( L,
"Tables must be of same length." );
5688 arg31 = malloc(
sizeof (
char* ) *
Alen );
5689 for ( i = 1; i <=
Alen; i++ )
5691 lua_rawgeti( L, 28, i );
5692 if ( lua_isstring( L, -1 ) )
5694 arg31[i - 1] = (
char *) lua_tostring( L, -1 );
5699 lua_pushfstring( L,
"Requires a sequence of strings." );
5707 pllegend(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,(
int const *)arg14,arg15,arg16,arg17,arg18,(
int const *)arg19,(
char const **)arg20,(
int const *)arg21,(
int const *)arg22,(
double const *)arg23,(
double const *)arg24,(
int const *)arg25,(
int const *)arg26,(
double const *)arg27,(
int const *)arg28,(
double const *)arg29,(
int const *)arg30,(
char const **)arg31);
5709 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
5710 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
5720 free( arg20 ); arg20 = NULL;
5756 free( arg31 ); arg31 = NULL;
5773 free( arg20 ); arg20 = NULL;
5809 free( arg31 ); arg31 = NULL;
5836 char **arg18 = (
char **) 0 ;
5838 char **arg20 = (
char **) 0 ;
5853 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"plcolorbar",1,
"PLINT");
5854 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"plcolorbar",2,
"PLINT");
5855 if(!lua_isnumber(L,3))
SWIG_fail_arg(
"plcolorbar",3,
"PLFLT");
5856 if(!lua_isnumber(L,4))
SWIG_fail_arg(
"plcolorbar",4,
"PLFLT");
5857 if(!lua_isnumber(L,5))
SWIG_fail_arg(
"plcolorbar",5,
"PLFLT");
5858 if(!lua_isnumber(L,6))
SWIG_fail_arg(
"plcolorbar",6,
"PLFLT");
5859 if(!lua_isnumber(L,7))
SWIG_fail_arg(
"plcolorbar",7,
"PLINT");
5860 if(!lua_isnumber(L,8))
SWIG_fail_arg(
"plcolorbar",8,
"PLINT");
5861 if(!lua_isnumber(L,9))
SWIG_fail_arg(
"plcolorbar",9,
"PLINT");
5862 if(!lua_isnumber(L,10))
SWIG_fail_arg(
"plcolorbar",10,
"PLFLT");
5863 if(!lua_isnumber(L,11))
SWIG_fail_arg(
"plcolorbar",11,
"PLFLT");
5864 if(!lua_isnumber(L,12))
SWIG_fail_arg(
"plcolorbar",12,
"PLINT");
5865 if(!lua_isnumber(L,13))
SWIG_fail_arg(
"plcolorbar",13,
"PLFLT");
5866 if(!lua_istable(L,15))
SWIG_fail_arg(
"plcolorbar",15,
"char const **");
5867 arg3 = (
PLINT)lua_tonumber(L, 1);
5868 arg4 = (
PLINT)lua_tonumber(L, 2);
5869 arg5 = (
PLFLT)lua_tonumber(L, 3);
5870 arg6 = (
PLFLT)lua_tonumber(L, 4);
5871 arg7 = (
PLFLT)lua_tonumber(L, 5);
5872 arg8 = (
PLFLT)lua_tonumber(L, 6);
5873 arg9 = (
PLINT)lua_tonumber(L, 7);
5874 arg10 = (
PLINT)lua_tonumber(L, 8);
5875 arg11 = (
PLINT)lua_tonumber(L, 9);
5876 arg12 = (
PLFLT)lua_tonumber(L, 10);
5877 arg13 = (
PLFLT)lua_tonumber(L, 11);
5878 arg14 = (
PLINT)lua_tonumber(L, 12);
5879 arg15 = (
PLFLT)lua_tonumber(L, 13);
5881 arg17 = (
PLINT *) LUA_get_int_num_array_var( L, 14, &arg16 );
5892 lua_pushfstring( L,
"Tables must be of same length." );
5895 arg18 = malloc(
sizeof (
char* ) *
Alen );
5896 for ( i = 1; i <=
Alen; i++ )
5898 lua_rawgeti( L, 15, i );
5899 if ( lua_isstring( L, -1 ) )
5901 arg18[i - 1] = (
char *) lua_tostring( L, -1 );
5906 lua_pushfstring( L,
"Requires a sequence of strings." );
5918 arg20 = malloc(
sizeof (
char* ) *
Alen );
5919 for ( i = 1; i <=
Alen; i++ )
5921 lua_rawgeti( L, 16, i );
5922 if ( lua_isstring( L, -1 ) )
5924 arg20[i - 1] = (
char *) lua_tostring( L, -1 );
5929 lua_pushfstring( L,
"Requires a sequence of strings." );
5936 arg21 = (
PLFLT *) LUA_get_double_num_array_var( L, 17, &temp21 );
5939 if ( temp21 !=
Alen )
5941 lua_pushfstring( L,
"Tables must be of same length." );
5946 arg22 = (
PLINT *) LUA_get_int_num_array_var( L, 18, &temp22 );
5949 if ( temp22 !=
Alen )
5951 lua_pushfstring( L,
"Tables must be of same length." );
5958 arg23 = (
PLINT *) LUA_get_int_num_array_var( L, 19, &temp23 );
5961 if ( temp23 !=
Alen )
5963 lua_pushfstring( L,
"Tables must be of same length." );
5969 for ( i = 0; i <
Xlen; i++ )
5970 if ( arg23[i] >
Ylen )
5979 if ( ( ii24 !=
Xlen ) || ( jj !=
Ylen ) )
5981 lua_pushfstring( L,
"Vectors must match matrix." );
5985 plcolorbar(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,(
int const *)arg17,(
char const **)arg18,arg19,(
char const **)arg20,(
double const *)arg21,(
int const *)arg22,(
int const *)arg23,(
double const **)arg24);
5987 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
5988 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
5995 free( arg18 ); arg18 = NULL;
6001 free( arg20 ); arg20 = NULL;
6018 for ( i = 0; i < ii24; i++ )
6034 free( arg18 ); arg18 = NULL;
6040 free( arg20 ); arg20 = NULL;
6057 for ( i = 0; i < ii24; i++ )
6074 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"pllightsource",1,
"PLFLT");
6075 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"pllightsource",2,
"PLFLT");
6076 if(!lua_isnumber(L,3))
SWIG_fail_arg(
"pllightsource",3,
"PLFLT");
6077 arg1 = (
PLFLT)lua_tonumber(L, 1);
6078 arg2 = (
PLFLT)lua_tonumber(L, 2);
6079 arg3 = (
PLFLT)lua_tonumber(L, 3);
6102 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
6108 arg3 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp3 );
6111 if ( temp3 !=
Alen )
6113 lua_pushfstring( L,
"Tables must be of same length." );
6117 plline(arg1,(
double const *)arg2,(
double const *)arg3);
6153 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
6159 arg3 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp3 );
6162 if ( temp3 !=
Alen )
6164 lua_pushfstring( L,
"Tables must be of same length." );
6169 arg4 = (
PLFLT *) LUA_get_double_num_array_var( L, 3, &temp4 );
6172 if ( temp4 !=
Alen )
6174 lua_pushfstring( L,
"Tables must be of same length." );
6178 plline3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6214 arg1 = (
PLINT)lua_tonumber(L, 1);
6241 arg1 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
6248 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp );
6261 if ( ( arg4 !=
Xlen ) || ( arg5 !=
Ylen ) )
6263 lua_pushfstring( L,
"Vectors must match matrix." );
6267 arg6 = (
PLINT)lua_tonumber(L, 4);
6268 plmesh((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6);
6281 for ( i = 0; i < ii3; i++ )
6302 for ( i = 0; i < ii3; i++ )
6328 arg1 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
6335 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp );
6348 if ( ( arg4 !=
Xlen ) || ( arg5 !=
Ylen ) )
6350 lua_pushfstring( L,
"Vectors must match matrix." );
6354 arg6 = (
PLINT)lua_tonumber(L, 4);
6357 arg7 = (
PLFLT *) LUA_get_double_num_array_var( L, 5, &temp );
6362 plmeshc((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
6375 for ( i = 0; i < ii3; i++ )
6399 for ( i = 0; i < ii3; i++ )
6421 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
6434 char *arg1 = (
char *) 0 ;
6438 char *arg5 = (
char *) 0 ;
6446 arg1 = (
char *)lua_tostring(L, 1);
6447 arg2 = (
PLFLT)lua_tonumber(L, 2);
6448 arg3 = (
PLFLT)lua_tonumber(L, 3);
6449 arg4 = (
PLFLT)lua_tonumber(L, 4);
6450 arg5 = (
char *)lua_tostring(L, 5);
6451 plmtex((
char const *)arg1,arg2,arg3,arg4,(
char const *)arg5);
6465 char *arg1 = (
char *) 0 ;
6469 char *arg5 = (
char *) 0 ;
6477 arg1 = (
char *)lua_tostring(L, 1);
6478 arg2 = (
PLFLT)lua_tonumber(L, 2);
6479 arg3 = (
PLFLT)lua_tonumber(L, 3);
6480 arg4 = (
PLFLT)lua_tonumber(L, 4);
6481 arg5 = (
char *)lua_tostring(L, 5);
6482 plmtex3((
char const *)arg1,arg2,arg3,arg4,(
char const *)arg5);
6510 arg1 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
6517 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp );
6530 if ( ( arg4 !=
Xlen ) || ( arg5 !=
Ylen ) )
6532 lua_pushfstring( L,
"Vectors must match matrix." );
6536 arg6 = (
PLINT)lua_tonumber(L, 4);
6537 arg7 = (
PLBOOL)lua_tonumber(L, 5);
6538 plot3d((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,arg7);
6551 for ( i = 0; i < ii3; i++ )
6572 for ( i = 0; i < ii3; i++ )
6598 arg1 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
6605 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp );
6618 if ( ( arg4 !=
Xlen ) || ( arg5 !=
Ylen ) )
6620 lua_pushfstring( L,
"Vectors must match matrix." );
6624 arg6 = (
PLINT)lua_tonumber(L, 4);
6627 arg7 = (
PLFLT *) LUA_get_double_num_array_var( L, 5, &temp );
6632 plot3dc((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
6645 for ( i = 0; i < ii3; i++ )
6669 for ( i = 0; i < ii3; i++ )
6704 arg1 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
6711 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp );
6724 if ( ( arg4 !=
Xlen ) || ( arg5 !=
Ylen ) )
6726 lua_pushfstring( L,
"Vectors must match matrix." );
6730 arg6 = (
PLINT)lua_tonumber(L, 4);
6733 arg7 = (
PLFLT *) LUA_get_double_num_array_var( L, 5, &temp );
6738 arg9 = (
PLINT)lua_tonumber(L, 6);
6740 arg11 = (
PLINT *) LUA_get_int_num_array_var( L, 7, &arg10 );
6746 arg12 = (
PLINT *) LUA_get_int_num_array_var( L, 8, &temp12 );
6749 if ( temp12 !=
Alen )
6751 lua_pushfstring( L,
"Tables must be of same length." );
6755 plot3dcl((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8,arg9,arg10,(
int const *)arg11,(
int const *)arg12);
6768 for ( i = 0; i < ii3; i++ )
6798 for ( i = 0; i < ii3; i++ )
6833 arg1 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
6840 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp );
6853 if ( ( arg4 !=
Xlen ) || ( arg5 !=
Ylen ) )
6855 lua_pushfstring( L,
"Vectors must match matrix." );
6859 arg6 = (
PLINT)lua_tonumber(L, 4);
6862 arg7 = (
PLFLT *) LUA_get_double_num_array_var( L, 5, &temp );
6867 plsurf3d((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
6880 for ( i = 0; i < ii3; i++ )
6904 for ( i = 0; i < ii3; i++ )
6935 if(!lua_isnumber(L,4))
SWIG_fail_arg(
"plsurf3dl",4,
"PLINT");
6936 if(!lua_isnumber(L,6))
SWIG_fail_arg(
"plsurf3dl",6,
"PLINT");
6939 arg1 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
6946 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp );
6959 if ( ( arg4 !=
Xlen ) || ( arg5 !=
Ylen ) )
6961 lua_pushfstring( L,
"Vectors must match matrix." );
6965 arg6 = (
PLINT)lua_tonumber(L, 4);
6968 arg7 = (
PLFLT *) LUA_get_double_num_array_var( L, 5, &temp );
6973 arg9 = (
PLINT)lua_tonumber(L, 6);
6975 arg11 = (
PLINT *) LUA_get_int_num_array_var( L, 7, &arg10 );
6981 arg12 = (
PLINT *) LUA_get_int_num_array_var( L, 8, &temp12 );
6984 if ( temp12 !=
Alen )
6986 lua_pushfstring( L,
"Tables must be of same length." );
6990 plsurf3dl((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8,arg9,arg10,(
int const *)arg11,(
int const *)arg12);
7003 for ( i = 0; i < ii3; i++ )
7033 for ( i = 0; i < ii3; i++ )
7054 int *arg1 = (
int *) 0 ;
7055 char **arg2 = (
char **) 0 ;
7060 if(!lua_istable(L,1))
SWIG_fail_arg(
"plparseopts",1,
"int *");
7061 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"plparseopts",2,
"PLINT");
7070 lua_rawgeti( L, 1, i );
7071 if ( lua_isnil( L, -1 ) )
7084 for ( i = 0; i < n; i++ )
7086 lua_rawgeti( L, 1, i );
7087 if ( lua_isstring( L, -1 ) )
7089 arg2[i] = (
char *) lua_tostring( L, -1 );
7094 lua_pushfstring( L,
"List items must be strings" );
7102 arg3 = (
PLINT)lua_tonumber(L, 2);
7104 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7130 arg2 = (
PLINT *) LUA_get_int_num_array_var( L, 1, &arg1 );
7136 arg3 = (
PLINT *) LUA_get_int_num_array_var( L, 2, &temp3 );
7139 if ( temp3 !=
Alen )
7141 lua_pushfstring( L,
"Tables must be of same length." );
7145 plpat(arg1,(
int const *)arg2,(
int const *)arg3);
7183 arg1 = (
PLINT)lua_tonumber(L, 1);
7184 arg2 = (
PLFLT)lua_tonumber(L, 2);
7185 arg3 = (
PLFLT)lua_tonumber(L, 3);
7186 arg4 = (
PLFLT)lua_tonumber(L, 4);
7187 arg5 = (
PLFLT)lua_tonumber(L, 5);
7188 plpath(arg1,arg2,arg3,arg4,arg5);
7212 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
7218 arg3 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp3 );
7221 if ( temp3 !=
Alen )
7223 lua_pushfstring( L,
"Tables must be of same length." );
7227 arg4 = (
PLINT)lua_tonumber(L, 3);
7228 plpoin(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
7266 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
7272 arg3 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp3 );
7275 if ( temp3 !=
Alen )
7277 lua_pushfstring( L,
"Tables must be of same length." );
7282 arg4 = (
PLFLT *) LUA_get_double_num_array_var( L, 3, &temp4 );
7285 if ( temp4 !=
Alen )
7287 lua_pushfstring( L,
"Tables must be of same length." );
7291 arg5 = (
PLINT)lua_tonumber(L, 4);
7292 plpoin3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,arg5);
7338 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
7344 arg3 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp3 );
7347 if ( temp3 !=
Alen )
7349 lua_pushfstring( L,
"Tables must be of same length." );
7354 arg4 = (
PLFLT *) LUA_get_double_num_array_var( L, 3, &temp4 );
7357 if ( temp4 !=
Alen )
7359 lua_pushfstring( L,
"Tables must be of same length." );
7364 arg5 = (
PLINT *) LUA_get_int_num_array_var( L, 4, &temp5 );
7367 if ( temp5 <
Alen - 1 )
7369 lua_pushfstring( L,
"Tables must be at least length of others minus 1." );
7373 arg6 = (
PLBOOL)lua_tonumber(L, 5);
7374 plpoly3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,(
int const *)arg5,arg6);
7418 arg1 = (
PLINT)lua_tonumber(L, 1);
7419 arg2 = (
PLINT)lua_tonumber(L, 2);
7438 arg1 = (
PLINT)lua_tonumber(L, 1);
7458 char *arg6 = (
char *) 0 ;
7467 arg1 = (
PLFLT)lua_tonumber(L, 1);
7468 arg2 = (
PLFLT)lua_tonumber(L, 2);
7469 arg3 = (
PLFLT)lua_tonumber(L, 3);
7470 arg4 = (
PLFLT)lua_tonumber(L, 4);
7471 arg5 = (
PLFLT)lua_tonumber(L, 5);
7472 arg6 = (
char *)lua_tostring(L, 6);
7473 plptex(arg1,arg2,arg3,arg4,arg5,(
char const *)arg6);
7497 char *arg11 = (
char *) 0 ;
7509 if(!lua_isnumber(L,10))
SWIG_fail_arg(
"plptex3",10,
"PLFLT");
7511 arg1 = (
PLFLT)lua_tonumber(L, 1);
7512 arg2 = (
PLFLT)lua_tonumber(L, 2);
7513 arg3 = (
PLFLT)lua_tonumber(L, 3);
7514 arg4 = (
PLFLT)lua_tonumber(L, 4);
7515 arg5 = (
PLFLT)lua_tonumber(L, 5);
7516 arg6 = (
PLFLT)lua_tonumber(L, 6);
7517 arg7 = (
PLFLT)lua_tonumber(L, 7);
7518 arg8 = (
PLFLT)lua_tonumber(L, 8);
7519 arg9 = (
PLFLT)lua_tonumber(L, 9);
7520 arg10 = (
PLFLT)lua_tonumber(L, 10);
7521 arg11 = (
char *)lua_tostring(L, 11);
7522 plptex3(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(
char const *)arg11);
7540 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7586 arg1 = (
PLFLT)lua_tonumber(L, 1);
7587 arg2 = (
PLFLT)lua_tonumber(L, 2);
7588 arg3 = (
PLFLT)lua_tonumber(L, 3);
7589 plrgbhls(arg1,arg2,arg3,arg4,arg5,arg6);
7591 lua_pushnumber(L, (lua_Number) *arg4); SWIG_arg++;
7592 lua_pushnumber(L, (lua_Number) *arg5); SWIG_arg++;
7593 lua_pushnumber(L, (lua_Number) *arg6); SWIG_arg++;
7612 arg1 = (
PLFLT)lua_tonumber(L, 1);
7613 arg2 = (
PLFLT)lua_tonumber(L, 2);
7638 arg1 = (
PLINT *) LUA_get_int_num_array_var( L, 1, &temp1 );
7644 arg2 = (
PLINT *) LUA_get_int_num_array_var( L, 2, &temp2 );
7647 if ( temp2 !=
Alen )
7649 lua_pushfstring( L,
"Tables must be of same length." );
7654 arg3 = (
PLINT *) LUA_get_int_num_array_var( L, 3, &temp3 );
7657 if ( temp3 !=
Alen )
7659 lua_pushfstring( L,
"Tables must be of same length." );
7664 plscmap0((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,arg4);
7707 arg1 = (
PLINT *) LUA_get_int_num_array_var( L, 1, &temp1 );
7713 arg2 = (
PLINT *) LUA_get_int_num_array_var( L, 2, &temp2 );
7716 if ( temp2 !=
Alen )
7718 lua_pushfstring( L,
"Tables must be of same length." );
7723 arg3 = (
PLINT *) LUA_get_int_num_array_var( L, 3, &temp3 );
7726 if ( temp3 !=
Alen )
7728 lua_pushfstring( L,
"Tables must be of same length." );
7734 arg4 = (
PLFLT *) LUA_get_double_num_array_var( L, 4, &temp );
7739 lua_pushfstring( L,
"Tables must be of same length." );
7744 plscmap0a((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,(
double const *)arg4,arg5);
7785 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"plscmap0n",1,
"PLINT");
7786 arg1 = (
PLINT)lua_tonumber(L, 1);
7811 arg1 = (
PLINT *) LUA_get_int_num_array_var( L, 1, &temp1 );
7817 arg2 = (
PLINT *) LUA_get_int_num_array_var( L, 2, &temp2 );
7820 if ( temp2 !=
Alen )
7822 lua_pushfstring( L,
"Tables must be of same length." );
7827 arg3 = (
PLINT *) LUA_get_int_num_array_var( L, 3, &temp3 );
7830 if ( temp3 !=
Alen )
7832 lua_pushfstring( L,
"Tables must be of same length." );
7837 plscmap1((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,arg4);
7880 arg1 = (
PLINT *) LUA_get_int_num_array_var( L, 1, &temp1 );
7886 arg2 = (
PLINT *) LUA_get_int_num_array_var( L, 2, &temp2 );
7889 if ( temp2 !=
Alen )
7891 lua_pushfstring( L,
"Tables must be of same length." );
7896 arg3 = (
PLINT *) LUA_get_int_num_array_var( L, 3, &temp3 );
7899 if ( temp3 !=
Alen )
7901 lua_pushfstring( L,
"Tables must be of same length." );
7907 arg4 = (
PLFLT *) LUA_get_double_num_array_var( L, 4, &temp );
7912 lua_pushfstring( L,
"Tables must be of same length." );
7917 plscmap1a((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,(
double const *)arg4,arg5);
7971 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"plscmap1l",1,
"PLBOOL");
7972 arg1 = (
PLBOOL)lua_tonumber(L, 1);
7975 arg3 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp );
7981 arg4 = (
PLFLT *) LUA_get_double_num_array_var( L, 3, &temp4 );
7984 if ( temp4 !=
Alen )
7986 lua_pushfstring( L,
"Tables must be of same length." );
7991 arg5 = (
PLFLT *) LUA_get_double_num_array_var( L, 4, &temp5 );
7994 if ( temp5 !=
Alen )
7996 lua_pushfstring( L,
"Tables must be of same length." );
8001 arg6 = (
PLFLT *) LUA_get_double_num_array_var( L, 5, &temp6 );
8004 if ( temp6 !=
Alen )
8006 lua_pushfstring( L,
"Tables must be of same length." );
8010 if(lua_gettop(L)>=6){
8012 if ( lua_isnil( L, 6 ) )
8018 arg7 = (
PLINT *) LUA_get_int_num_array_var( L, 6, &temp7 );
8021 if ( temp7 <
Alen - 1 )
8023 lua_pushfstring( L,
"Tables must be at least length of others minus 1." );
8029 plscmap1l(arg1,arg2,(
double const *)arg3,(
double const *)arg4,(
double const *)arg5,(
double const *)arg6,(
int const *)arg7);
8091 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"plscmap1la",1,
"PLBOOL");
8092 arg1 = (
PLBOOL)lua_tonumber(L, 1);
8095 arg3 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp );
8101 arg4 = (
PLFLT *) LUA_get_double_num_array_var( L, 3, &temp4 );
8104 if ( temp4 !=
Alen )
8106 lua_pushfstring( L,
"Tables must be of same length." );
8111 arg5 = (
PLFLT *) LUA_get_double_num_array_var( L, 4, &temp5 );
8114 if ( temp5 !=
Alen )
8116 lua_pushfstring( L,
"Tables must be of same length." );
8121 arg6 = (
PLFLT *) LUA_get_double_num_array_var( L, 5, &temp6 );
8124 if ( temp6 !=
Alen )
8126 lua_pushfstring( L,
"Tables must be of same length." );
8131 arg7 = (
PLFLT *) LUA_get_double_num_array_var( L, 6, &temp7 );
8134 if ( temp7 !=
Alen )
8136 lua_pushfstring( L,
"Tables must be of same length." );
8140 if(lua_gettop(L)>=7){
8142 if ( lua_isnil( L, 7 ) )
8148 arg8 = (
PLINT *) LUA_get_int_num_array_var( L, 7, &temp8 );
8151 if ( temp8 <
Alen - 1 )
8153 lua_pushfstring( L,
"Tables must be at least length of others minus 1." );
8159 plscmap1la(arg1,arg2,(
double const *)arg3,(
double const *)arg4,(
double const *)arg5,(
double const *)arg6,(
double const *)arg7,(
int const *)arg8);
8212 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"plscmap1n",1,
"PLINT");
8213 arg1 = (
PLINT)lua_tonumber(L, 1);
8232 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"plscmap1_range",1,
"PLFLT");
8233 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"plscmap1_range",2,
"PLFLT");
8234 arg1 = (
PLFLT)lua_tonumber(L, 1);
8235 arg2 = (
PLFLT)lua_tonumber(L, 2);
8260 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
8261 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
8284 arg1 = (
PLINT)lua_tonumber(L, 1);
8285 arg2 = (
PLINT)lua_tonumber(L, 2);
8286 arg3 = (
PLINT)lua_tonumber(L, 3);
8287 arg4 = (
PLINT)lua_tonumber(L, 4);
8314 arg1 = (
PLINT)lua_tonumber(L, 1);
8315 arg2 = (
PLINT)lua_tonumber(L, 2);
8316 arg3 = (
PLINT)lua_tonumber(L, 3);
8317 arg4 = (
PLINT)lua_tonumber(L, 4);
8318 arg5 = (
PLFLT)lua_tonumber(L, 5);
8319 plscol0a(arg1,arg2,arg3,arg4,arg5);
8341 arg1 = (
PLINT)lua_tonumber(L, 1);
8342 arg2 = (
PLINT)lua_tonumber(L, 2);
8343 arg3 = (
PLINT)lua_tonumber(L, 3);
8364 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"plscolbga",1,
"PLINT");
8365 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"plscolbga",2,
"PLINT");
8366 if(!lua_isnumber(L,3))
SWIG_fail_arg(
"plscolbga",3,
"PLINT");
8367 if(!lua_isnumber(L,4))
SWIG_fail_arg(
"plscolbga",4,
"PLFLT");
8368 arg1 = (
PLINT)lua_tonumber(L, 1);
8369 arg2 = (
PLINT)lua_tonumber(L, 2);
8370 arg3 = (
PLINT)lua_tonumber(L, 3);
8371 arg4 = (
PLFLT)lua_tonumber(L, 4);
8390 arg1 = (
PLINT)lua_tonumber(L, 1);
8408 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"plscompression",1,
"PLINT");
8409 arg1 = (
PLINT)lua_tonumber(L, 1);
8424 char *arg1 = (
char *) 0 ;
8428 arg1 = (
char *)lua_tostring(L, 1);
8429 plsdev((
char const *)arg1);
8453 arg1 = (
PLFLT)lua_tonumber(L, 1);
8454 arg2 = (
PLFLT)lua_tonumber(L, 2);
8455 arg3 = (
PLFLT)lua_tonumber(L, 3);
8456 arg4 = (
PLFLT)lua_tonumber(L, 4);
8485 arg1 = (
PLINT)lua_tonumber(L, 1);
8486 arg2 = (
PLINT)lua_tonumber(L, 2);
8487 arg3 = (
PLINT)lua_tonumber(L, 3);
8488 arg4 = (
PLINT)lua_tonumber(L, 4);
8489 arg5 = (
PLFLT)lua_tonumber(L, 5);
8490 arg6 = (
PLFLT)lua_tonumber(L, 6);
8491 plsdimap(arg1,arg2,arg3,arg4,arg5,arg6);
8509 arg1 = (
PLFLT)lua_tonumber(L, 1);
8534 arg1 = (
PLFLT)lua_tonumber(L, 1);
8535 arg2 = (
PLFLT)lua_tonumber(L, 2);
8536 arg3 = (
PLFLT)lua_tonumber(L, 3);
8537 arg4 = (
PLFLT)lua_tonumber(L, 4);
8562 arg1 = (
PLFLT)lua_tonumber(L, 1);
8563 arg2 = (
PLFLT)lua_tonumber(L, 2);
8564 arg3 = (
PLFLT)lua_tonumber(L, 3);
8565 arg4 = (
PLFLT)lua_tonumber(L, 4);
8583 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"plseed",1,
"unsigned int");
8585 arg1 = (
unsigned int)lua_tonumber(L, 1);
8604 arg1 = (lua_tostring(L, 1))[0];
8619 char *arg1 = (
char *) 0 ;
8620 char *arg2 = (
char *) 0 ;
8626 arg1 = (
char *)lua_tostring(L, 1);
8627 arg2 = (
char *)lua_tostring(L, 2);
8628 result = (
PLINT)
plsetopt((
char const *)arg1,(
char const *)arg2);
8629 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8650 arg1 = (
PLINT)lua_tonumber(L, 1);
8651 arg2 = (
PLINT)lua_tonumber(L, 2);
8652 arg3 = (
PLINT)lua_tonumber(L, 3);
8670 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"plsfci",1,
"PLUNICODE");
8687 char *arg1 = (
char *) 0 ;
8691 arg1 = (
char *)lua_tostring(L, 1);
8714 arg1 = (
PLINT)lua_tonumber(L, 1);
8715 arg2 = (
PLINT)lua_tonumber(L, 2);
8716 arg3 = (
PLINT)lua_tonumber(L, 3);
8753 cgrid117.
xg = cgrid117.
yg = cgrid117.
zg = NULL;
8754 cgrid117.
nx = cgrid117.
ny = cgrid117.
nz = 0;
8755 cgrid217.
xg = cgrid217.
yg = cgrid217.
zg = NULL;
8756 cgrid217.
nx = cgrid217.
ny = 0;
8778 if(!lua_isnumber(L,10))
SWIG_fail_arg(
"plshades",10,
"PLBOOL");
8788 arg5 = (
PLFLT)lua_tonumber(L, 2);
8789 arg6 = (
PLFLT)lua_tonumber(L, 3);
8790 arg7 = (
PLFLT)lua_tonumber(L, 4);
8791 arg8 = (
PLFLT)lua_tonumber(L, 5);
8794 arg9 = (
PLFLT *) LUA_get_double_num_array_var( L, 6, &temp );
8797 arg10 =
Alen = temp;
8799 arg11 = (
PLFLT)lua_tonumber(L, 7);
8800 arg12 = (
PLINT)lua_tonumber(L, 8);
8801 arg13 = (
PLFLT)lua_tonumber(L, 9);
8802 arg15 = (
PLBOOL)lua_tonumber(L, 10);
8803 if(lua_gettop(L)>=11){
8808 if ( lua_isstring( L, 11 ) )
8810 const char* funcstr = lua_tostring( L, 11 );
8811 if ( strcmp(
"pltr0", funcstr ) == 0 )
8815 else if ( strcmp(
"pltr1", funcstr ) == 0 )
8819 else if ( strcmp(
"pltr2", funcstr ) == 0 )
8834 if(lua_gettop(L)>=12){
8839 lua_pushstring( L,
"xg" );
8840 lua_gettable( L, 12 );
8841 if ( !lua_istable( L, -1 ) )
8844 lua_pushstring( L,
"expected a table xg" );
8847 lua_rawgeti( L, -1, 1 );
8848 if ( lua_istable( L, -1 ) )
8850 else if ( lua_isnumber( L, -1 ) )
8856 lua_pushstring( L,
"expected a one or two dimensional array/table in xg" );
8860 if ( gridmode == 1 )
8862 cgrid117.
xg = (
PLFLT *) LUA_get_double_num_array_var( L, -1, &nx );
8870 lua_pushfstring( L,
"Table xg must be of length%d.",
Xlen );
8883 if ( ( nx !=
Xlen ) || ( ny !=
Ylen ) )
8886 lua_pushfstring( L,
"Vectors must match matrix." );
8894 lua_pushstring( L,
"yg" );
8895 lua_gettable( L, 12 );
8896 if ( !lua_istable( L, -1 ) )
8899 lua_pushstring( L,
"expected a table yg" );
8902 lua_rawgeti( L, -1, 1 );
8903 if ( gridmode == 2 )
8905 if ( !lua_istable( L, -1 ) )
8909 lua_pushstring( L,
"expected a two dimensional array/table in yg" );
8915 if ( !lua_isnumber( L, -1 ) )
8919 lua_pushstring( L,
"expected a one dimensional array/table in yg" );
8924 if ( gridmode == 1 )
8926 cgrid117.
yg = (
PLFLT *) LUA_get_double_num_array_var( L, -1, &ny );
8934 lua_pushfstring( L,
"Table yg must be of length%d.",
Ylen );
8947 if ( ( nx !=
Xlen ) || ( ny !=
Ylen ) )
8950 lua_pushfstring( L,
"Vectors must match matrix." );
8957 if ( gridmode == 1 )
8959 else if ( gridmode == 2 )
8963 plshades((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,(
double const *)arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17);
8970 for ( i = 0; i < ii1; i++ )
8989 for ( i = 0; i <
Xlen; i++ )
8995 for ( i = 0; i <
Xlen; i++ )
9010 for ( i = 0; i < ii1; i++ )
9029 for ( i = 0; i <
Xlen; i++ )
9035 for ( i = 0; i <
Xlen; i++ )
9073 cgrid121.
xg = cgrid121.
yg = cgrid121.
zg = NULL;
9074 cgrid121.
nx = cgrid121.
ny = cgrid121.
nz = 0;
9075 cgrid221.
xg = cgrid221.
yg = cgrid221.
zg = NULL;
9076 cgrid221.
nx = cgrid221.
ny = 0;
9099 if(!lua_isnumber(L,10))
SWIG_fail_arg(
"plshade",10,
"PLFLT");
9100 if(!lua_isnumber(L,11))
SWIG_fail_arg(
"plshade",11,
"PLINT");
9101 if(!lua_isnumber(L,12))
SWIG_fail_arg(
"plshade",12,
"PLFLT");
9102 if(!lua_isnumber(L,13))
SWIG_fail_arg(
"plshade",13,
"PLINT");
9103 if(!lua_isnumber(L,14))
SWIG_fail_arg(
"plshade",14,
"PLFLT");
9104 if(!lua_isnumber(L,15))
SWIG_fail_arg(
"plshade",15,
"PLBOOL");
9114 arg5 = (
PLFLT)lua_tonumber(L, 2);
9115 arg6 = (
PLFLT)lua_tonumber(L, 3);
9116 arg7 = (
PLFLT)lua_tonumber(L, 4);
9117 arg8 = (
PLFLT)lua_tonumber(L, 5);
9118 arg9 = (
PLFLT)lua_tonumber(L, 6);
9119 arg10 = (
PLFLT)lua_tonumber(L, 7);
9120 arg11 = (
PLINT)lua_tonumber(L, 8);
9121 arg12 = (
PLFLT)lua_tonumber(L, 9);
9122 arg13 = (
PLFLT)lua_tonumber(L, 10);
9123 arg14 = (
PLINT)lua_tonumber(L, 11);
9124 arg15 = (
PLFLT)lua_tonumber(L, 12);
9125 arg16 = (
PLINT)lua_tonumber(L, 13);
9126 arg17 = (
PLFLT)lua_tonumber(L, 14);
9127 arg19 = (
PLBOOL)lua_tonumber(L, 15);
9128 if(lua_gettop(L)>=16){
9133 if ( lua_isstring( L, 16 ) )
9135 const char* funcstr = lua_tostring( L, 16 );
9136 if ( strcmp(
"pltr0", funcstr ) == 0 )
9140 else if ( strcmp(
"pltr1", funcstr ) == 0 )
9144 else if ( strcmp(
"pltr2", funcstr ) == 0 )
9159 if(lua_gettop(L)>=17){
9164 lua_pushstring( L,
"xg" );
9165 lua_gettable( L, 17 );
9166 if ( !lua_istable( L, -1 ) )
9169 lua_pushstring( L,
"expected a table xg" );
9172 lua_rawgeti( L, -1, 1 );
9173 if ( lua_istable( L, -1 ) )
9175 else if ( lua_isnumber( L, -1 ) )
9181 lua_pushstring( L,
"expected a one or two dimensional array/table in xg" );
9185 if ( gridmode == 1 )
9187 cgrid121.
xg = (
PLFLT *) LUA_get_double_num_array_var( L, -1, &nx );
9195 lua_pushfstring( L,
"Table xg must be of length%d.",
Xlen );
9208 if ( ( nx !=
Xlen ) || ( ny !=
Ylen ) )
9211 lua_pushfstring( L,
"Vectors must match matrix." );
9219 lua_pushstring( L,
"yg" );
9220 lua_gettable( L, 17 );
9221 if ( !lua_istable( L, -1 ) )
9224 lua_pushstring( L,
"expected a table yg" );
9227 lua_rawgeti( L, -1, 1 );
9228 if ( gridmode == 2 )
9230 if ( !lua_istable( L, -1 ) )
9234 lua_pushstring( L,
"expected a two dimensional array/table in yg" );
9240 if ( !lua_isnumber( L, -1 ) )
9244 lua_pushstring( L,
"expected a one dimensional array/table in yg" );
9249 if ( gridmode == 1 )
9251 cgrid121.
yg = (
PLFLT *) LUA_get_double_num_array_var( L, -1, &ny );
9259 lua_pushfstring( L,
"Table yg must be of length%d.",
Ylen );
9272 if ( ( nx !=
Xlen ) || ( ny !=
Ylen ) )
9275 lua_pushfstring( L,
"Vectors must match matrix." );
9282 if ( gridmode == 1 )
9284 else if ( gridmode == 2 )
9288 plshade((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21);
9295 for ( i = 0; i < ii1; i++ )
9311 for ( i = 0; i <
Xlen; i++ )
9317 for ( i = 0; i <
Xlen; i++ )
9332 for ( i = 0; i < ii1; i++ )
9348 for ( i = 0; i <
Xlen; i++ )
9354 for ( i = 0; i <
Xlen; i++ )
9375 mylabel_funcstr[0] =
'\0';
9377 if ( lua_isnil( L, 1 ) )
9381 else if ( lua_isstring( L, 1 ) )
9384 strncpy( mylabel_funcstr, lua_tostring( L, 1 ), 255 );
9416 arg1 = (
PLFLT)lua_tonumber(L, 1);
9417 arg2 = (
PLFLT)lua_tonumber(L, 2);
9438 arg1 = (
PLFLT)lua_tonumber(L, 1);
9439 arg2 = (
PLFLT)lua_tonumber(L, 2);
9458 arg1 = (
PLINT)lua_tonumber(L, 1);
9487 arg1 = (
PLFLT)lua_tonumber(L, 1);
9488 arg2 = (
PLFLT)lua_tonumber(L, 2);
9489 arg3 = (
PLINT)lua_tonumber(L, 3);
9490 arg4 = (
PLINT)lua_tonumber(L, 4);
9491 arg5 = (
PLINT)lua_tonumber(L, 5);
9492 arg6 = (
PLINT)lua_tonumber(L, 6);
9493 plspage(arg1,arg2,arg3,arg4,arg5,arg6);
9507 char *arg1 = (
char *) 0 ;
9511 arg1 = (
char *)lua_tostring(L, 1);
9526 char *arg1 = (
char *) 0 ;
9532 arg1 = (
char *)lua_tostring(L, 1);
9533 arg2 = (
PLBOOL)lua_tonumber(L, 2);
9534 plspal1((
char const *)arg1,arg2);
9551 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"plspause",1,
"PLBOOL");
9552 arg1 = (
PLBOOL)lua_tonumber(L, 1);
9571 arg1 = (
PLINT)lua_tonumber(L, 1);
9592 arg1 = (
PLINT)lua_tonumber(L, 1);
9593 arg2 = (
PLINT)lua_tonumber(L, 2);
9614 arg1 = (
PLFLT)lua_tonumber(L, 1);
9615 arg2 = (
PLFLT)lua_tonumber(L, 2);
9636 arg1 = (
PLINT)lua_tonumber(L, 1);
9637 arg2 = (
PLINT)lua_tonumber(L, 2);
9652 char *arg1 = (
char *) 0 ;
9660 arg1 = (
char *)lua_tostring(L, 1);
9661 arg2 = (
PLINT)lua_tonumber(L, 2);
9662 arg3 = (
PLINT)lua_tonumber(L, 3);
9663 plstart((
char const *)arg1,arg2,arg3);
9682 myct_funcstr[0] =
'\0';
9688 if(lua_gettop(L)>=1){
9691 myct_funcstr[0] =
'\0';
9693 if ( lua_isstring( L, 1 ) )
9695 const char* funcstr = lua_tostring( L, 1 );
9697 strncpy( myct_funcstr, funcstr, 255 );
9721 char *arg4 = (
char *) 0 ;
9728 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
9734 arg3 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp3 );
9737 if ( temp3 !=
Alen )
9739 lua_pushfstring( L,
"Tables must be of same length." );
9743 arg4 = (
char *)lua_tostring(L, 3);
9744 plstring(arg1,(
double const *)arg2,(
double const *)arg3,(
char const *)arg4);
9774 char *arg5 = (
char *) 0 ;
9782 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
9788 arg3 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp3 );
9791 if ( temp3 !=
Alen )
9793 lua_pushfstring( L,
"Tables must be of same length." );
9798 arg4 = (
PLFLT *) LUA_get_double_num_array_var( L, 3, &temp4 );
9801 if ( temp4 !=
Alen )
9803 lua_pushfstring( L,
"Tables must be of same length." );
9807 arg5 = (
char *)lua_tostring(L, 4);
9808 plstring3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,(
char const *)arg5);
9850 arg1 = (
PLINT)lua_tonumber(L, 1);
9851 arg2 = (
PLINT)lua_tonumber(L, 2);
9852 arg3 = (
PLFLT)lua_tonumber(L, 3);
9853 arg4 = (
PLFLT)lua_tonumber(L, 4);
9869 char *arg2 = (
char *) 0 ;
9870 char *arg3 = (
char *) 0 ;
9885 char *arg18 = (
char *) 0 ;
9886 char *arg19 = (
char *) 0 ;
9887 char *arg20 = (
char *) 0 ;
9906 if(!lua_isnumber(L,10))
SWIG_fail_arg(
"plstripc",10,
"PLBOOL");
9907 if(!lua_isnumber(L,11))
SWIG_fail_arg(
"plstripc",11,
"PLBOOL");
9908 if(!lua_isnumber(L,12))
SWIG_fail_arg(
"plstripc",12,
"PLINT");
9909 if(!lua_isnumber(L,13))
SWIG_fail_arg(
"plstripc",13,
"PLINT");
9910 if(lua_gettop(L)>=16 && !lua_istable(L,16))
SWIG_fail_arg(
"plstripc",16,
"char const *[4]");
9914 arg2 = (
char *)lua_tostring(L, 1);
9915 arg3 = (
char *)lua_tostring(L, 2);
9916 arg4 = (
PLFLT)lua_tonumber(L, 3);
9917 arg5 = (
PLFLT)lua_tonumber(L, 4);
9918 arg6 = (
PLFLT)lua_tonumber(L, 5);
9919 arg7 = (
PLFLT)lua_tonumber(L, 6);
9920 arg8 = (
PLFLT)lua_tonumber(L, 7);
9921 arg9 = (
PLFLT)lua_tonumber(L, 8);
9922 arg10 = (
PLFLT)lua_tonumber(L, 9);
9923 arg11 = (
PLBOOL)lua_tonumber(L, 10);
9924 arg12 = (
PLBOOL)lua_tonumber(L, 11);
9925 arg13 = (
PLINT)lua_tonumber(L, 12);
9926 arg14 = (
PLINT)lua_tonumber(L, 13);
9928 arg15 = (
PLINT *) LUA_get_int_num_array_var( L, 14, &temp15 );
9934 arg16 = (
PLINT *) LUA_get_int_num_array_var( L, 15, &temp16 );
9937 if ( temp16 !=
Alen )
9939 lua_pushfstring( L,
"Tables must be of same length." );
9943 if(lua_gettop(L)>=16){
9950 lua_pushfstring( L,
"Requires a sequence of 4 strings." );
9955 lua_pushfstring( L,
"colline and styline args must be length 4." );
9959 arg17 = malloc(
sizeof (
char* ) * 4 );
9960 for ( i = 1; i <= 4; i++ )
9962 lua_rawgeti( L, 16, i );
9963 if ( lua_isstring( L, -1 ) )
9965 arg17[i - 1] = (
char *) lua_tostring( L, -1 );
9970 lua_pushfstring( L,
"Requires a sequence of 4 strings." );
9978 if(lua_gettop(L)>=17){
9979 arg18 = (
char *)lua_tostring(L, 17);
9981 if(lua_gettop(L)>=18){
9982 arg19 = (
char *)lua_tostring(L, 18);
9984 if(lua_gettop(L)>=19){
9985 arg20 = (
char *)lua_tostring(L, 19);
9987 plstripc(arg1,(
char const *)arg2,(
char const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,(
int const *)arg15,(
int const *)arg16,(
char const *(*))arg17,(
char const *)arg18,(
char const *)arg19,(
char const *)arg20);
9989 lua_pushnumber(L, (lua_Number) *arg1); SWIG_arg++;
9999 free( arg17 ); arg17 = NULL;
10016 free( arg17 ); arg17 = NULL;
10029 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"plstripd",1,
"PLINT");
10030 arg1 = (
PLINT)lua_tonumber(L, 1);
10052 arg2 = (
PLINT *) LUA_get_int_num_array_var( L, 1, &arg1 );
10058 arg3 = (
PLINT *) LUA_get_int_num_array_var( L, 2, &temp3 );
10061 if ( temp3 !=
Alen )
10063 lua_pushfstring( L,
"Tables must be of same length." );
10067 plstyl(arg1,(
int const *)arg2,(
int const *)arg3);
10099 arg2 = NULL; arg3 = 0;
10105 if(lua_gettop(L)>=3 && !lua_isnumber(L,3))
SWIG_fail_arg(
"plsvect",3,
"PLBOOL");
10108 if ( lua_isnil( L, 1 ) )
10115 arg1 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
10121 if(lua_gettop(L)>=2){
10124 if ( lua_isnil( L, 2 ) )
10130 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp );
10133 if ( temp !=
Alen )
10135 lua_pushfstring( L,
"Tables must be of same length." );
10142 if(lua_gettop(L)>=3){
10143 arg4 = (
PLBOOL)lua_tonumber(L, 3);
10145 plsvect((
double const *)arg1,(
double const *)arg2,arg3,arg4);
10175 arg1 = (
PLFLT)lua_tonumber(L, 1);
10176 arg2 = (
PLFLT)lua_tonumber(L, 2);
10177 arg3 = (
PLFLT)lua_tonumber(L, 3);
10178 arg4 = (
PLFLT)lua_tonumber(L, 4);
10179 plsvpa(arg1,arg2,arg3,arg4);
10199 arg1 = (
PLINT)lua_tonumber(L, 1);
10200 arg2 = (
PLINT)lua_tonumber(L, 2);
10221 arg1 = (
PLINT)lua_tonumber(L, 1);
10222 arg2 = (
PLINT)lua_tonumber(L, 2);
10247 arg2 = (
PLFLT *) LUA_get_double_num_array_var( L, 1, &temp );
10250 arg1 =
Alen = temp;
10253 arg3 = (
PLFLT *) LUA_get_double_num_array_var( L, 2, &temp3 );
10256 if ( temp3 !=
Alen )
10258 lua_pushfstring( L,
"Tables must be of same length." );
10262 arg4 = (
PLINT)lua_tonumber(L, 3);
10263 plsym(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
10295 arg1 = (
PLINT)lua_tonumber(L, 1);
10296 arg2 = (
PLINT)lua_tonumber(L, 2);
10327 char *arg1 = (
char *) 0 ;
10331 arg1 = (
char *)lua_tostring(L, 1);
10350 arg1 = (
PLFLT)lua_tonumber(L, 1);
10378 cgrid17.
xg = cgrid17.
yg = cgrid17.
zg = NULL;
10379 cgrid17.
nx = cgrid17.
ny = cgrid17.
nz = 0;
10380 cgrid27.
xg = cgrid27.
yg = cgrid27.
zg = NULL;
10381 cgrid27.
nx = cgrid27.
ny = 0;
10408 if ( ( arg3 !=
Xlen ) || ( arg4 !=
Ylen ) )
10410 lua_pushfstring( L,
"Vectors must match matrix." );
10414 arg5 = (
PLFLT)lua_tonumber(L, 3);
10415 if(lua_gettop(L)>=4){
10420 if ( lua_isstring( L, 4 ) )
10422 const char* funcstr = lua_tostring( L, 4 );
10423 if ( strcmp(
"pltr0", funcstr ) == 0 )
10427 else if ( strcmp(
"pltr1", funcstr ) == 0 )
10431 else if ( strcmp(
"pltr2", funcstr ) == 0 )
10446 if(lua_gettop(L)>=5){
10451 lua_pushstring( L,
"xg" );
10452 lua_gettable( L, 5 );
10453 if ( !lua_istable( L, -1 ) )
10456 lua_pushstring( L,
"expected a table xg" );
10459 lua_rawgeti( L, -1, 1 );
10460 if ( lua_istable( L, -1 ) )
10462 else if ( lua_isnumber( L, -1 ) )
10468 lua_pushstring( L,
"expected a one or two dimensional array/table in xg" );
10472 if ( gridmode == 1 )
10474 cgrid17.
xg = (
PLFLT *) LUA_get_double_num_array_var( L, -1, &nx );
10482 lua_pushfstring( L,
"Table xg must be of length%d.",
Xlen );
10495 if ( ( nx !=
Xlen ) || ( ny !=
Ylen ) )
10498 lua_pushfstring( L,
"Vectors must match matrix." );
10506 lua_pushstring( L,
"yg" );
10507 lua_gettable( L, 5 );
10508 if ( !lua_istable( L, -1 ) )
10511 lua_pushstring( L,
"expected a table yg" );
10514 lua_rawgeti( L, -1, 1 );
10515 if ( gridmode == 2 )
10517 if ( !lua_istable( L, -1 ) )
10521 lua_pushstring( L,
"expected a two dimensional array/table in yg" );
10527 if ( !lua_isnumber( L, -1 ) )
10531 lua_pushstring( L,
"expected a one dimensional array/table in yg" );
10536 if ( gridmode == 1 )
10538 cgrid17.
yg = (
PLFLT *) LUA_get_double_num_array_var( L, -1, &ny );
10546 lua_pushfstring( L,
"Table yg must be of length%d.",
Ylen );
10559 if ( ( nx !=
Xlen ) || ( ny !=
Ylen ) )
10562 lua_pushfstring( L,
"Vectors must match matrix." );
10569 if ( gridmode == 1 )
10571 else if ( gridmode == 2 )
10575 plvect((
double const **)arg1,(
double const **)arg2,arg3,arg4,arg5,arg6,arg7);
10582 for ( i = 0; i < ii1; i++ )
10592 for ( i = 0; i < ii2; i++ )
10608 for ( i = 0; i <
Xlen; i++ )
10614 for ( i = 0; i <
Xlen; i++ )
10629 for ( i = 0; i < ii1; i++ )
10639 for ( i = 0; i < ii2; i++ )
10655 for ( i = 0; i <
Xlen; i++ )
10661 for ( i = 0; i <
Xlen; i++ )
10685 arg1 = (
PLFLT)lua_tonumber(L, 1);
10686 arg2 = (
PLFLT)lua_tonumber(L, 2);
10687 arg3 = (
PLFLT)lua_tonumber(L, 3);
10688 arg4 = (
PLFLT)lua_tonumber(L, 4);
10689 arg5 = (
PLFLT)lua_tonumber(L, 5);
10690 plvpas(arg1,arg2,arg3,arg4,arg5);
10714 arg1 = (
PLFLT)lua_tonumber(L, 1);
10715 arg2 = (
PLFLT)lua_tonumber(L, 2);
10716 arg3 = (
PLFLT)lua_tonumber(L, 3);
10717 arg4 = (
PLFLT)lua_tonumber(L, 4);
10718 plvpor(arg1,arg2,arg3,arg4);
10772 arg1 = (
PLFLT)lua_tonumber(L, 1);
10773 arg2 = (
PLFLT)lua_tonumber(L, 2);
10774 arg3 = (
PLFLT)lua_tonumber(L, 3);
10775 arg4 = (
PLFLT)lua_tonumber(L, 4);
10776 arg5 = (
PLFLT)lua_tonumber(L, 5);
10777 arg6 = (
PLFLT)lua_tonumber(L, 6);
10778 arg7 = (
PLFLT)lua_tonumber(L, 7);
10779 arg8 = (
PLFLT)lua_tonumber(L, 8);
10780 arg9 = (
PLFLT)lua_tonumber(L, 9);
10781 arg10 = (
PLFLT)lua_tonumber(L, 10);
10782 arg11 = (
PLFLT)lua_tonumber(L, 11);
10783 plw3d(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
10801 arg1 = (
PLFLT)lua_tonumber(L, 1);
10826 arg1 = (
PLFLT)lua_tonumber(L, 1);
10827 arg2 = (
PLFLT)lua_tonumber(L, 2);
10828 arg3 = (
PLFLT)lua_tonumber(L, 3);
10829 arg4 = (
PLFLT)lua_tonumber(L, 4);
10830 plwind(arg1,arg2,arg3,arg4);
10850 if(!lua_isnumber(L,1))
SWIG_fail_arg(
"plxormod",1,
"PLBOOL");
10851 arg1 = (
PLBOOL)lua_tonumber(L, 1);
10854 lua_pushnumber(L, (lua_Number) *arg2); SWIG_arg++;
10868 char *arg2 = (
char *) 0 ;
10884 if ( lua_isnil( L, 1 ) )
10888 else if ( lua_isstring( L, 1 ) )
10897 arg2 = (
char *)lua_tostring(L, 2);
10898 arg3 = (
PLFLT)lua_tonumber(L, 3);
10899 arg4 = (
PLFLT)lua_tonumber(L, 4);
10900 arg5 = (
PLFLT)lua_tonumber(L, 5);
10901 arg6 = (
PLFLT)lua_tonumber(L, 6);
10902 plmap(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6);
10923 char *arg2 = (
char *) 0 ;
10934 if(!lua_isnumber(L,3))
SWIG_fail_arg(
"plmapline",3,
"PLFLT");
10935 if(!lua_isnumber(L,4))
SWIG_fail_arg(
"plmapline",4,
"PLFLT");
10936 if(!lua_isnumber(L,5))
SWIG_fail_arg(
"plmapline",5,
"PLFLT");
10937 if(!lua_isnumber(L,6))
SWIG_fail_arg(
"plmapline",6,
"PLFLT");
10942 if ( lua_isnil( L, 1 ) )
10946 else if ( lua_isstring( L, 1 ) )
10955 arg2 = (
char *)lua_tostring(L, 2);
10956 arg3 = (
PLFLT)lua_tonumber(L, 3);
10957 arg4 = (
PLFLT)lua_tonumber(L, 4);
10958 arg5 = (
PLFLT)lua_tonumber(L, 5);
10959 arg6 = (
PLFLT)lua_tonumber(L, 6);
10961 if ( lua_isnil( L, 7 ) )
10968 arg7 = (
PLINT *) LUA_get_int_num_array_var( L, 7, &temp7 );
10974 plmapline(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6,(
int const *)arg7,arg8);
11001 char *arg2 = (
char *) 0 ;
11002 char *arg3 = (
char *) 0 ;
11014 if(!lua_isnumber(L,4))
SWIG_fail_arg(
"plmapstring",4,
"PLFLT");
11015 if(!lua_isnumber(L,5))
SWIG_fail_arg(
"plmapstring",5,
"PLFLT");
11016 if(!lua_isnumber(L,6))
SWIG_fail_arg(
"plmapstring",6,
"PLFLT");
11017 if(!lua_isnumber(L,7))
SWIG_fail_arg(
"plmapstring",7,
"PLFLT");
11022 if ( lua_isnil( L, 1 ) )
11026 else if ( lua_isstring( L, 1 ) )
11035 arg2 = (
char *)lua_tostring(L, 2);
11036 arg3 = (
char *)lua_tostring(L, 3);
11037 arg4 = (
PLFLT)lua_tonumber(L, 4);
11038 arg5 = (
PLFLT)lua_tonumber(L, 5);
11039 arg6 = (
PLFLT)lua_tonumber(L, 6);
11040 arg7 = (
PLFLT)lua_tonumber(L, 7);
11042 if ( lua_isnil( L, 8 ) )
11049 arg8 = (
PLINT *) LUA_get_int_num_array_var( L, 8, &temp8 );
11055 plmapstring(arg1,(
char const *)arg2,(
char const *)arg3,arg4,arg5,arg6,arg7,(
int const *)arg8,arg9);
11082 char *arg2 = (
char *) 0 ;
11086 char *arg6 = (
char *) 0 ;
11095 if(!lua_isnumber(L,3))
SWIG_fail_arg(
"plmaptex",3,
"PLFLT");
11096 if(!lua_isnumber(L,4))
SWIG_fail_arg(
"plmaptex",4,
"PLFLT");
11097 if(!lua_isnumber(L,5))
SWIG_fail_arg(
"plmaptex",5,
"PLFLT");
11099 if(!lua_isnumber(L,7))
SWIG_fail_arg(
"plmaptex",7,
"PLFLT");
11100 if(!lua_isnumber(L,8))
SWIG_fail_arg(
"plmaptex",8,
"PLFLT");
11101 if(!lua_isnumber(L,9))
SWIG_fail_arg(
"plmaptex",9,
"PLFLT");
11102 if(!lua_isnumber(L,10))
SWIG_fail_arg(
"plmaptex",10,
"PLFLT");
11103 if(!lua_isnumber(L,11))
SWIG_fail_arg(
"plmaptex",11,
"PLINT");
11108 if ( lua_isnil( L, 1 ) )
11112 else if ( lua_isstring( L, 1 ) )
11121 arg2 = (
char *)lua_tostring(L, 2);
11122 arg3 = (
PLFLT)lua_tonumber(L, 3);
11123 arg4 = (
PLFLT)lua_tonumber(L, 4);
11124 arg5 = (
PLFLT)lua_tonumber(L, 5);
11125 arg6 = (
char *)lua_tostring(L, 6);
11126 arg7 = (
PLFLT)lua_tonumber(L, 7);
11127 arg8 = (
PLFLT)lua_tonumber(L, 8);
11128 arg9 = (
PLFLT)lua_tonumber(L, 9);
11129 arg10 = (
PLFLT)lua_tonumber(L, 10);
11130 arg11 = (
PLINT)lua_tonumber(L, 11);
11131 plmaptex(arg1,(
char const *)arg2,arg3,arg4,arg5,(
char const *)arg6,arg7,arg8,arg9,arg10,arg11);
11152 char *arg2 = (
char *) 0 ;
11163 if(!lua_isnumber(L,3))
SWIG_fail_arg(
"plmapfill",3,
"PLFLT");
11164 if(!lua_isnumber(L,4))
SWIG_fail_arg(
"plmapfill",4,
"PLFLT");
11165 if(!lua_isnumber(L,5))
SWIG_fail_arg(
"plmapfill",5,
"PLFLT");
11166 if(!lua_isnumber(L,6))
SWIG_fail_arg(
"plmapfill",6,
"PLFLT");
11171 if ( lua_isnil( L, 1 ) )
11175 else if ( lua_isstring( L, 1 ) )
11184 arg2 = (
char *)lua_tostring(L, 2);
11185 arg3 = (
PLFLT)lua_tonumber(L, 3);
11186 arg4 = (
PLFLT)lua_tonumber(L, 4);
11187 arg5 = (
PLFLT)lua_tonumber(L, 5);
11188 arg6 = (
PLFLT)lua_tonumber(L, 6);
11190 if ( lua_isnil( L, 7 ) )
11197 arg7 = (
PLINT *) LUA_get_int_num_array_var( L, 7, &temp7 );
11203 plmapfill(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6,(
int const *)arg7,arg8);
11238 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"plmeridians",2,
"PLFLT");
11239 if(!lua_isnumber(L,3))
SWIG_fail_arg(
"plmeridians",3,
"PLFLT");
11240 if(!lua_isnumber(L,4))
SWIG_fail_arg(
"plmeridians",4,
"PLFLT");
11241 if(!lua_isnumber(L,5))
SWIG_fail_arg(
"plmeridians",5,
"PLFLT");
11242 if(!lua_isnumber(L,6))
SWIG_fail_arg(
"plmeridians",6,
"PLFLT");
11243 if(!lua_isnumber(L,7))
SWIG_fail_arg(
"plmeridians",7,
"PLFLT");
11248 if ( lua_isnil( L, 1 ) )
11252 else if ( lua_isstring( L, 1 ) )
11261 arg2 = (
PLFLT)lua_tonumber(L, 2);
11262 arg3 = (
PLFLT)lua_tonumber(L, 3);
11263 arg4 = (
PLFLT)lua_tonumber(L, 4);
11264 arg5 = (
PLFLT)lua_tonumber(L, 5);
11265 arg6 = (
PLFLT)lua_tonumber(L, 6);
11266 arg7 = (
PLFLT)lua_tonumber(L, 7);
11311 if(!lua_isnumber(L,10))
SWIG_fail_arg(
"plimage",10,
"PLFLT");
11312 if(!lua_isnumber(L,11))
SWIG_fail_arg(
"plimage",11,
"PLFLT");
11322 arg4 = (
PLFLT)lua_tonumber(L, 2);
11323 arg5 = (
PLFLT)lua_tonumber(L, 3);
11324 arg6 = (
PLFLT)lua_tonumber(L, 4);
11325 arg7 = (
PLFLT)lua_tonumber(L, 5);
11326 arg8 = (
PLFLT)lua_tonumber(L, 6);
11327 arg9 = (
PLFLT)lua_tonumber(L, 7);
11328 arg10 = (
PLFLT)lua_tonumber(L, 8);
11329 arg11 = (
PLFLT)lua_tonumber(L, 9);
11330 arg12 = (
PLFLT)lua_tonumber(L, 10);
11331 arg13 = (
PLFLT)lua_tonumber(L, 11);
11332 plimage((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
11339 for ( i = 0; i < ii1; i++ )
11354 for ( i = 0; i < ii1; i++ )
11384 cgrid113.
xg = cgrid113.
yg = cgrid113.
zg = NULL;
11385 cgrid113.
nx = cgrid113.
ny = cgrid113.
nz = 0;
11386 cgrid213.
xg = cgrid213.
yg = cgrid213.
zg = NULL;
11387 cgrid213.
nx = cgrid213.
ny = 0;
11396 if(!lua_isnumber(L,2))
SWIG_fail_arg(
"plimagefr",2,
"PLFLT");
11397 if(!lua_isnumber(L,3))
SWIG_fail_arg(
"plimagefr",3,
"PLFLT");
11398 if(!lua_isnumber(L,4))
SWIG_fail_arg(
"plimagefr",4,
"PLFLT");
11399 if(!lua_isnumber(L,5))
SWIG_fail_arg(
"plimagefr",5,
"PLFLT");
11400 if(!lua_isnumber(L,6))
SWIG_fail_arg(
"plimagefr",6,
"PLFLT");
11401 if(!lua_isnumber(L,7))
SWIG_fail_arg(
"plimagefr",7,
"PLFLT");
11402 if(!lua_isnumber(L,8))
SWIG_fail_arg(
"plimagefr",8,
"PLFLT");
11403 if(!lua_isnumber(L,9))
SWIG_fail_arg(
"plimagefr",9,
"PLFLT");
11413 arg4 = (
PLFLT)lua_tonumber(L, 2);
11414 arg5 = (
PLFLT)lua_tonumber(L, 3);
11415 arg6 = (
PLFLT)lua_tonumber(L, 4);
11416 arg7 = (
PLFLT)lua_tonumber(L, 5);
11417 arg8 = (
PLFLT)lua_tonumber(L, 6);
11418 arg9 = (
PLFLT)lua_tonumber(L, 7);
11419 arg10 = (
PLFLT)lua_tonumber(L, 8);
11420 arg11 = (
PLFLT)lua_tonumber(L, 9);
11421 if(lua_gettop(L)>=10){
11426 if ( lua_isstring( L, 10 ) )
11428 const char* funcstr = lua_tostring( L, 10 );
11429 if ( strcmp(
"pltr0", funcstr ) == 0 )
11433 else if ( strcmp(
"pltr1", funcstr ) == 0 )
11437 else if ( strcmp(
"pltr2", funcstr ) == 0 )
11452 if(lua_gettop(L)>=11){
11457 lua_pushstring( L,
"xg" );
11458 lua_gettable( L, 11 );
11459 if ( !lua_istable( L, -1 ) )
11462 lua_pushstring( L,
"expected a table xg" );
11465 lua_rawgeti( L, -1, 1 );
11466 if ( lua_istable( L, -1 ) )
11468 else if ( lua_isnumber( L, -1 ) )
11474 lua_pushstring( L,
"expected a one or two dimensional array/table in xg" );
11478 if ( gridmode == 1 )
11480 cgrid113.
xg = (
PLFLT *) LUA_get_double_num_array_var( L, -1, &nx );
11481 if ( !cgrid113.
xg )
11488 lua_pushfstring( L,
"Table xg must be of length%d.",
Xlen );
11496 if ( !cgrid213.
xg )
11501 if ( ( nx !=
Xlen ) || ( ny !=
Ylen ) )
11504 lua_pushfstring( L,
"Vectors must match matrix." );
11512 lua_pushstring( L,
"yg" );
11513 lua_gettable( L, 11 );
11514 if ( !lua_istable( L, -1 ) )
11517 lua_pushstring( L,
"expected a table yg" );
11520 lua_rawgeti( L, -1, 1 );
11521 if ( gridmode == 2 )
11523 if ( !lua_istable( L, -1 ) )
11527 lua_pushstring( L,
"expected a two dimensional array/table in yg" );
11533 if ( !lua_isnumber( L, -1 ) )
11537 lua_pushstring( L,
"expected a one dimensional array/table in yg" );
11542 if ( gridmode == 1 )
11544 cgrid113.
yg = (
PLFLT *) LUA_get_double_num_array_var( L, -1, &ny );
11545 if ( !cgrid113.
yg )
11552 lua_pushfstring( L,
"Table yg must be of length%d.",
Ylen );
11560 if ( !cgrid213.
yg )
11565 if ( ( nx !=
Xlen ) || ( ny !=
Ylen ) )
11568 lua_pushfstring( L,
"Vectors must match matrix." );
11575 if ( gridmode == 1 )
11577 else if ( gridmode == 2 )
11581 plimagefr((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
11588 for ( i = 0; i < ii1; i++ )
11604 for ( i = 0; i <
Xlen; i++ )
11610 for ( i = 0; i <
Xlen; i++ )
11625 for ( i = 0; i < ii1; i++ )
11641 for ( i = 0; i <
Xlen; i++ )
11647 for ( i = 0; i <
Xlen; i++ )
11691 char *arg1 = (
char *) 0 ;
11692 char *arg2 = (
char *) 0 ;
11697 arg1 = (
char *)lua_tostring(L, 1);
11698 arg2 = (
char *)lua_tostring(L, 2);
11699 plSetUsage((
char const *)arg1,(
char const *)arg2);
11752 lua_pushnumber(L, (lua_Number) *arg4); SWIG_arg++;
11753 lua_pushnumber(L, (lua_Number) *arg5); SWIG_arg++;
11759 for ( i = 0; i < ii1; i++ )
11774 for ( i = 0; i < ii1; i++ )
11797 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
11810 char *arg1 = (
char *) 0 ;
11813 if(!lua_isstring(L,1))
SWIG_fail_arg(
"plwarn",1,
"char const *");
11815 arg1 = (
char *) lua_tostring( L, 1 );
11817 plwarn((
char const *)arg1);
11831 char *arg1 = (
char *) 0 ;
11834 if(!lua_isstring(L,1))
SWIG_fail_arg(
"plabort",1,
"char const *");
11836 arg1 = (
char *) lua_tostring( L, 1 );
12327 #define SWIGRUNTIME_DEBUG
12338 if (swig_module.
next==0) {
12350 if (!module_head) {
12360 if (iter==&swig_module) {
12365 }
while (iter!= module_head);
12370 swig_module.
next = module_head->
next;
12378 if (init == 0)
return;
12381 #ifdef SWIGRUNTIME_DEBUG
12382 printf(
"SWIG_InitializeModule: size %d\n", swig_module.
size);
12384 for (i = 0; i < swig_module.
size; ++i) {
12389 #ifdef SWIGRUNTIME_DEBUG
12390 printf(
"SWIG_InitializeModule: type %d %s\n", i, swig_module.
type_initial[i]->
name);
12394 if (swig_module.
next != &swig_module) {
12399 #ifdef SWIGRUNTIME_DEBUG
12400 printf(
"SWIG_InitializeModule: found type %s\n", type->
name);
12404 #ifdef SWIGRUNTIME_DEBUG
12405 printf(
"SWIG_InitializeModule: found and overwrite type %s \n", type->
name);
12414 while (cast->
type) {
12418 #ifdef SWIGRUNTIME_DEBUG
12419 printf(
"SWIG_InitializeModule: look cast %s\n", cast->
type->
name);
12421 if (swig_module.
next != &swig_module) {
12423 #ifdef SWIGRUNTIME_DEBUG
12424 if (ret) printf(
"SWIG_InitializeModule: found cast %s\n", ret->
name);
12429 #ifdef SWIGRUNTIME_DEBUG
12430 printf(
"SWIG_InitializeModule: skip old type %s\n", ret->
name);
12437 #ifdef SWIGRUNTIME_DEBUG
12438 if (ocast) printf(
"SWIG_InitializeModule: skip old cast %s\n", ret->
name);
12440 if (!ocast) ret = 0;
12445 #ifdef SWIGRUNTIME_DEBUG
12446 printf(
"SWIG_InitializeModule: adding cast %s\n", cast->
type->
name);
12457 swig_module.
types[i] = type;
12459 swig_module.
types[i] = 0;
12461 #ifdef SWIGRUNTIME_DEBUG
12462 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
12463 for (i = 0; i < swig_module.
size; ++i) {
12466 printf(
"SWIG_InitializeModule: type %d %s\n", i, swig_module.
type_initial[i]->
name);
12467 while (cast->
type) {
12468 printf(
"SWIG_InitializeModule: cast type %s\n", cast->
type->
name);
12472 printf(
"---- Total casts: %d\n",j);
12474 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
12487 static int init_run = 0;
12489 if (init_run)
return;
12492 for (i = 0; i < swig_module.
size; i++) {
12500 equiv = equiv->
next;
12525 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
12531 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
12540 #if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC))
12547 for (i = 0; swig_commands[i].name; i++){
12551 for (i = 0; swig_variables[i].
name; i++){
12556 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
12558 for (i = 0; swig_types[i]; i++){
12559 if (swig_types[i]->clientdata){
12564 for (i = 0; swig_types[i]; i++){
12565 if (swig_types[i]->clientdata){
12571 #if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC))
12576 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
12596 " pl = plplotluac";
static int _wrap_bin(lua_State *L)
static swig_cast_info _swigc__p_f_double_double__int[]
struct swig_type_info swig_type_info
static int _wrap_rgbhls(lua_State *L)
static char myct_funcstr[255]
void(* label_func)(PLINT, PLFLT, char *, PLINT, PLPointer)
static int _wrap_box(lua_State *L)
static int _wrap_PLGraphicsIn_pX_get(lua_State *L)
static swig_module_info swig_module
SWIGINTERN void SWIG_Lua_get_class_registry(lua_State *L)
SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz)
static int _wrap_mtex3(lua_State *L)
void(* ct_func)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer)
static int _wrap_PLGraphicsIn_string_set(lua_State *L)
PLINT plGetCursor(PLGraphicsIn *plg)
static swig_lua_attribute swig_PLGraphicsIn_attributes[]
static int _wrap_plot3d(lua_State *L)
static int _wrap_spal1(lua_State *L)
static swig_type_info _swigt__p_char
static int _wrap_scmap1a(lua_State *L)
SWIGINTERN void SWIG_write_ptr_array(lua_State *L, void **array, int size, swig_type_info *type, int own)
static swig_lua_method swig_PLGraphicsIn_cls_methods[]
static int _wrap_sfont(lua_State *L)
static int _wrap_imagefr(lua_State *L)
static int _wrap_gfam(lua_State *L)
static int _wrap_gra(lua_State *L)
static int _wrap_PLGraphicsIn_keysym_set(lua_State *L)
#define SWIG_LUA_CONSTTAB_INT(B, C)
static int _wrap_PLGraphicsIn_wX_get(lua_State *L)
SWIGRUNTIME swig_type_info * SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
SWIGINTERN void SWIG_Lua_InstallConstants(lua_State *L, swig_lua_const_info constants[])
SWIGINTERN void ** SWIG_get_ptr_array_fixed(lua_State *L, int index, int size, swig_type_info *type)
static void swig_delete_PLGraphicsIn(void *obj)
static int _wrap_scolor(lua_State *L)
static int _wrap_setopt(lua_State *L)
#define SWIG_Lua_get_table(L, n)
static int _wrap_vsta(lua_State *L)
static int _wrap_PLGraphicsIn_subwindow_get(lua_State *L)
static int _wrap_plGetCursor(lua_State *L)
SWIGINTERN void SWIG_Lua_get_class_metatable(lua_State *L, const char *cname)
static char mylabel_funcstr[255]
static int _wrap_pat(lua_State *L)
static int _wrap_PLGraphicsIn_dY_set(lua_State *L)
static int _wrap_scmap1la(lua_State *L)
static int _wrap_scompression(lua_State *L)
SWIGRUNTIME int SWIG_Lua_equal(lua_State *L)
PLFLT(* f2eval_func)(PLINT, PLINT, PLPointer)
static int _wrap_spause(lua_State *L)
SWIGINTERN int SWIG_Lua_class_set(lua_State *L)
static int _wrap_poin(lua_State *L)
SWIGINTERN int SWIG_Lua_namespace_set(lua_State *L)
static int _wrap_arc(lua_State *L)
SWIGRUNTIME int SWIG_TypeCmp(const char *nb, const char *tb)
SWIGINTERN void SWIG_Lua_class_register(lua_State *L, swig_lua_class *clss)
static int _wrap_eop(lua_State *L)
SWIGRUNTIMEINLINE const char * SWIG_TypeName(const swig_type_info *ty)
SWIGINTERN void SWIG_Lua_init_base_class(lua_State *L, swig_lua_class *clss)
SWIGINTERN void ** SWIG_get_ptr_array_var(lua_State *L, int index, int *size, swig_type_info *type)
SWIGINTERN void SWIG_Lua_add_class_details(lua_State *L, swig_lua_class *clss)
SWIGINTERN int SWIG_Lua_dostring(lua_State *L, const char *str)
static int _wrap_gdev(lua_State *L)
static int _wrap_mapline(lua_State *L)
void plmapline(PLMAPFORM_callback mapform, PLCHAR_VECTOR name, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT_VECTOR plotentries, PLINT nplotentries)
static int _wrap_scolbg(lua_State *L)
#define pl_setcontlabelparam
#define SWIG_DOSTRING_FAIL(S)
static int _wrap_szax(lua_State *L)
#define LUA_DECLARE_TYPEMAP_ARR_FN(NAME, TYPE)
static int _wrap_vpas(lua_State *L)
static int _wrap_plClearOpts(lua_State *L)
static int _wrap_scol0a(lua_State *L)
static int _wrap_PLGraphicsIn_pY_set(lua_State *L)
static swig_type_info _swigt__p_p_double
static int _wrap_PLGraphicsIn_dX_set(lua_State *L)
struct swig_cast_info * cast
static int _wrap_PLGraphicsIn_type_get(lua_State *L)
#define SWIG_ConvertPtr(L, idx, ptr, type, flags)
static int _wrap_lightsource(lua_State *L)
SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty)
SWIGINTERN void SWIG_Lua_module_add_function(lua_State *L, const char *name, lua_CFunction fn)
#define SWIG_RUNTIME_VERSION
static int _wrap_image(lua_State *L)
#define SWIGRUNTIMEINLINE
static int _wrap_plot3dcl(lua_State *L)
static int _wrap_setcontlabelformat(lua_State *L)
static int _wrap_PLGraphicsIn_dY_get(lua_State *L)
SWIGRUNTIME void SWIG_Lua_NewPointerObj(lua_State *L, void *ptr, swig_type_info *type, int own)
void plmeridians(PLMAPFORM_callback mapform, PLFLT dlong, PLFLT dlat, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat)
void plmaptex(PLMAPFORM_callback mapform, PLCHAR_VECTOR name, PLFLT dx, PLFLT dy, PLFLT just, PLCHAR_VECTOR text, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT plotentry)
static int _wrap_scol0(lua_State *L)
struct swig_type_info *(* swig_dycast_func)(void **)
static int _wrap_poin3(lua_State *L)
SWIGINTERN int SWIG_Lua_class_tostring(lua_State *L)
static int _wrap_gcol0(lua_State *L)
static int _wrap_prec(lua_State *L)
static int _wrap_scolbga(lua_State *L)
static int _wrap_plend(lua_State *L)
static int _wrap_slabelfunc(lua_State *L)
void plabort(PLCHAR_VECTOR errormsg)
static int _wrap_plOptUsage(lua_State *L)
static int _wrap_start(lua_State *L)
static swig_type_info _swigt__p_int
static swig_type_info _swigt__p_double
static int _wrap_lab(lua_State *L)
static int _wrap_sesc(lua_State *L)
#define SWIG_DECLARE_TYPEMAP_ARR_FN(NAME, TYPE)
#define SWIG_GetModule(clientdata)
static int _wrap_map(lua_State *L)
static swig_type_info _swigt__p_f_int_p_double_p_double__void
static int _wrap_replot(lua_State *L)
void *(* swig_converter_func)(void *, int *)
SWIGINTERN int SWIG_Lua_class_get(lua_State *L)
static int _wrap_gcolbga(lua_State *L)
SWIGINTERN int SWIG_itable_size(lua_State *L, int index)
static char mapform_funcstr[255]
static const char * swig_PLGraphicsIn_base_names[]
static int _wrap_gcolbg(lua_State *L)
static int _wrap_schr(lua_State *L)
SWIGINTERN int SWIG_Lua_class_disown(lua_State *L)
static int _wrap_randd(lua_State *L)
SWIGRUNTIME int SWIG_Lua_ConvertPtr(lua_State *L, int index, void **ptr, swig_type_info *type, int flags)
static int _wrap_poly3(lua_State *L)
SWIGRUNTIME swig_cast_info * SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty)
swig_lua_attribute * attributes
SWIGINTERN void SWIG_Lua_class_register_static(lua_State *L, swig_lua_class *clss)
static int _wrap_string3(lua_State *L)
static swig_type_info _swigt__p_f_double_double_p_double_p_double_p_void__void
SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb)
static int _wrap_PLGraphicsIn_wY_get(lua_State *L)
static int _wrap_stripa(lua_State *L)
static int _wrap_PLGraphicsIn_state_set(lua_State *L)
static int _wrap_mapstring(lua_State *L)
static int _wrap_sdiori(lua_State *L)
static int _wrap_erry(lua_State *L)
SWIGRUNTIME swig_type_info * SWIG_TypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
static int _wrap_scmap1n(lua_State *L)
#define SWIG_fail_arg(func_name, argnum, type)
void(* fill_func)(PLINT, const PLFLT *, const PLFLT *)
#define SWIG_FREE_ARRAY(PTR)
static int _wrap_meshc(lua_State *L)
static swig_type_info _swigt__p_PLGraphicsIn
static int _wrap_PLGraphicsIn_wX_set(lua_State *L)
static int _wrap_smaj(lua_State *L)
static int _wrap_sori(lua_State *L)
static int _wrap_surf3d(lua_State *L)
static int _wrap_line(lua_State *L)
SWIGRUNTIME int SWIG_Lua_ConvertPacked(lua_State *L, int index, void *ptr, size_t size, swig_type_info *type)
static int _wrap_new_PLGraphicsIn(lua_State *L)
static int _wrap_col1(lua_State *L)
static int _wrap_legend(lua_State *L)
static int _wrap_stransform(lua_State *L)
static int _wrap_glevel(lua_State *L)
void(* pltr_func)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer)
static swig_cast_info _swigc__p_f_int_p_double_p_double__void[]
void mypltr(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, void *pltr_data)
static swig_cast_info _swigc__p_double[]
#define lua_pushglobaltable(L)
static int _wrap_font(lua_State *L)
static int _wrap_scmap1(lua_State *L)
SWIGRUNTIME void SWIG_InitializeModule(void *clientdata)
static int _wrap_ssym(lua_State *L)
SWIGINTERN int SWIG_Lua_namespace_register(lua_State *L, swig_lua_namespace *ns)
struct swig_module_info * next
#define SWIGTYPE_p_PLGraphicsIn
static int _wrap_path(lua_State *L)
SWIGRUNTIME void SWIG_Lua_SetModule(lua_State *L, swig_module_info *module)
#define SWIG_SetModule(clientdata, pointer)
static int _wrap_scmap0n(lua_State *L)
static int _wrap_box3(lua_State *L)
static int _wrap_spal0(lua_State *L)
SWIGRUNTIME int SWIG_TypeNameComp(const char *f1, const char *l1, const char *f2, const char *l2)
static int _wrap_plend1(lua_State *L)
static int _wrap_gspa(lua_State *L)
static int _wrap_plSetUsage(lua_State *L)
static int _wrap_gfont(lua_State *L)
static int _wrap_sdiplz(lua_State *L)
static int _wrap_gdidev(lua_State *L)
swig_converter_func converter
static int _wrap_ptex3(lua_State *L)
static int _wrap_PLGraphicsIn_type_set(lua_State *L)
SWIGINTERN void SWIG_Lua_add_class_variable(lua_State *L, const char *name, lua_CFunction getFn, lua_CFunction setFn)
static int _wrap_adv(lua_State *L)
void mapform(PLINT n, PLFLT *x, PLFLT *y)
static int _wrap_sfam(lua_State *L)
static swig_cast_info _swigc__p_f_double_double_p_double_p_double_p_void__void[]
static swig_lua_const_info swig_PLGraphicsIn_cls_constants[]
static int _wrap_vasp(lua_State *L)
static swig_type_info _swigt__p_p_char
static int _wrap_PLGraphicsIn_button_set(lua_State *L)
static int _wrap_bop(lua_State *L)
static int _wrap_cont(lua_State *L)
SWIGINTERN int SWIG_Lua_module_get(lua_State *L)
#define SWIG_fail_ptr(func_name, argnum, type)
static int _wrap_plot3dc(lua_State *L)
static int _wrap_surf3dl(lua_State *L)
SWIGRUNTIME swig_module_info * SWIG_Lua_GetModule(lua_State *L)
PLFLT ** read_double_Matrix(lua_State *L, int index, int *nx, int *ny)
SWIGINTERN int SWIG_lua_isnilstring(lua_State *L, int idx)
static swig_lua_class * swig_PLGraphicsIn_bases[]
SWIGINTERN void SWIG_Lua_add_class_static_details(lua_State *L, swig_lua_class *clss)
swig_lua_namespace cls_static
SWIGRUNTIMEINLINE void * SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory)
lua_CFunction constructor
static int _wrap_lsty(lua_State *L)
static int _wrap_smin(lua_State *L)
static int _wrap_mkstrm(lua_State *L)
static swig_cast_info _swigc__p_p_char[]
static int _wrap_wind(lua_State *L)
static int _wrap_vect(lua_State *L)
static const struct luaL_Reg swig_commands[]
static int _wrap_cpstrm(lua_State *L)
static int _wrap_sfci(lua_State *L)
static int _wrap_text(lua_State *L)
static int _wrap_parseopts(lua_State *L)
#define SWIG_TYPE_TABLE_NAME
SWIGRUNTIME const char * SWIG_Lua_typename(lua_State *L, int tp)
static int _wrap_hist(lua_State *L)
static char mypltr_funcstr[255]
static int _wrap_gpage(lua_State *L)
static swig_lua_attribute swig_PLGraphicsIn_cls_attributes[]
SWIGRUNTIME void SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata)
static int _wrap_mapfill(lua_State *L)
static int _wrap_svpa(lua_State *L)
#define SWIG_NewMemberObj(L, ptr, sz, type)
void(* mapform_func)(PLINT, PLFLT *, PLFLT *)
void myct(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, void *pltr_data)
SWIGINTERN void _SWIG_Lua_AddMetatable(lua_State *L, swig_type_info *type)
static swig_type_info _swigt__p_f_int_double_p_char_int_p_void__void
void plmapfill(PLMAPFORM_callback mapform, PLCHAR_VECTOR name, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT_VECTOR plotentries, PLINT nplotentries)
static int _wrap_fill(lua_State *L)
SWIGINTERN int SWIG_table_size(lua_State *L, int index)
static int _wrap_gver(lua_State *L)
PLINT(* defined_func)(PLFLT, PLFLT)
static int _wrap_gfci(lua_State *L)
static int _wrap_famadv(lua_State *L)
static int _wrap_fontld(lua_State *L)
SWIGINTERN void SWIG_Lua_module_begin(lua_State *L, const char *name)
static int _wrap_sym(lua_State *L)
static int _wrap_gyax(lua_State *L)
SWIGRUNTIME void SWIG_TypeClientData(swig_type_info *ti, void *clientdata)
static PLFLT value(double n1, double n2, double hue)
SWIGRUNTIME int SWIG_Lua_type(lua_State *L)
SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz)
static int _wrap_plResetOpts(lua_State *L)
static int _wrap_PLGraphicsIn_state_get(lua_State *L)
#define SWIG_NewPointerObj(L, ptr, type, owner)
static int _wrap_ptex(lua_State *L)
SWIGINTERN int SWIG_Lua_class_destruct(lua_State *L)
static int _wrap_env(lua_State *L)
#define SWIG_ALLOC_ARRAY(TYPE, LEN)
static int _wrap_mesh(lua_State *L)
SWIGRUNTIME swig_type_info * SWIG_MangledTypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
static int _wrap_maptex(lua_State *L)
SWIGINTERN int SWIG_read_ptr_array(lua_State *L, int index, void **array, int size, swig_type_info *type)
static int _wrap_gvpw(lua_State *L)
#define SWIG_Lua_add_function(L, n, f)
static int _wrap_w3d(lua_State *L)
static int _wrap_griddata(lua_State *L)
static int _wrap_MinMax2dGrid(lua_State *L)
SWIGRUNTIME char * SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz)
void mylabel(PLINT axis, PLFLT value, char *label, PLINT length, PLPointer data)
struct swig_module_info swig_module_info
static int _wrap_warn(lua_State *L)
static int _wrap_mtex(lua_State *L)
swig_lua_method * methods
static int _wrap_flush(lua_State *L)
SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type)
static int _wrap_configtime(lua_State *L)
SWIGINTERN void SWIG_Lua_module_add_variable(lua_State *L, const char *name, lua_CFunction getFn, lua_CFunction setFn)
static swig_type_info * swig_types[13]
static int _wrap_sxax(lua_State *L)
SWIGRUNTIME void SWIG_PropagateClientData(void)
SWIGINTERN int SWIG_Lua_module_set(lua_State *L)
static swig_cast_info _swigc__p_f_int_p_q_const__double_p_q_const__double__void[]
static int _wrap_init(lua_State *L)
static int _wrap_shades(lua_State *L)
static swig_type_info _swigt__p_f_int_p_q_const__double_p_q_const__double__void
static int _wrap_gzax(lua_State *L)
#define SWIG_isptrtype(L, I)
swig_lua_const_info * ns_constants
static int _wrap_star(lua_State *L)
static swig_cast_info * swig_cast_initial[]
static int _wrap_scmap1l(lua_State *L)
struct swig_cast_info * next
static int _wrap_meridians(lua_State *L)
struct swig_lua_class swig_lua_class
swig_lua_method * ns_methods
static swig_cast_info _swigc__p_int[]
static int _wrap_PLGraphicsIn_pX_set(lua_State *L)
static int _wrap_gcompression(lua_State *L)
static int _wrap_ctime(lua_State *L)
static int _wrap_scmap0(lua_State *L)
#define LUA_FREE_ARRAY(PTR)
#define SWIG_CheckState(r)
static int _wrap_timefmt(lua_State *L)
static int _wrap_axes(lua_State *L)
static int _wrap_gcmap1_range(lua_State *L)
static swig_cast_info _swigc__p_p_double[]
#define LUA_ALLOC_ARRAY(TYPE, LEN)
static int _wrap_stripd(lua_State *L)
static int _wrap_PLGraphicsIn_pY_get(lua_State *L)
static swig_lua_class _wrap_class_PLGraphicsIn
static swig_type_info _swigt__p_unsigned_int
static swig_type_info _swigt__p_f_double_double__int
static swig_lua_const_info swig_constants[]
static int _wrap_sdev(lua_State *L)
static int _wrap_stripc(lua_State *L)
static int _wrap_PLGraphicsIn_keysym_get(lua_State *L)
static int _wrap_gxax(lua_State *L)
void plwarn(PLCHAR_VECTOR errormsg)
static int _wrap_PLGraphicsIn_string_get(lua_State *L)
static int _wrap_gvpd(lua_State *L)
struct swig_lua_class ** bases
static int _wrap_gchr(lua_State *L)
#define SWIG_check_num_args(func_name, a, b)
struct swig_cast_info * prev
static int _wrap_sdidev(lua_State *L)
static swig_lua_method swig_PLGraphicsIn_methods[]
static int _wrap_scmap1_range(lua_State *L)
swig_cast_info ** cast_initial
#define SWIG_POINTER_DISOWN
static int _wrap_PLGraphicsIn_button_get(lua_State *L)
swig_lua_attribute * ns_attributes
static int _wrap_colorbar(lua_State *L)
void plmap(PLMAPFORM_callback mapform, PLCHAR_VECTOR name, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy)
void(* destructor)(void *)
#define SWIG_contract_assert(expr, msg)
static int _wrap_width(lua_State *L)
static swig_cast_info _swigc__p_char[]
SWIGINTERN int SWIG_Lua_constructor_proxy(lua_State *L)
struct swig_cast_info swig_cast_info
SWIGRUNTIME const char * SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name)
static int _wrap_shade(lua_State *L)
static swig_lua_var_info swig_variables[]
static int _wrap_gradient(lua_State *L)
static int _wrap_join(lua_State *L)
swig_type_info ** type_initial
static int _wrap_PLGraphicsIn_dX_get(lua_State *L)
static int _wrap_hlsrgb(lua_State *L)
static int _wrap_psty(lua_State *L)
static int _wrap_gdiplt(lua_State *L)
static int _wrap_setcontlabelparam(lua_State *L)
static int _wrap_gdiori(lua_State *L)
SWIGINTERN int SWIG_Lua_namespace_get(lua_State *L)
SWIGRUNTIME char * SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz)
static int _wrap_line3(lua_State *L)
static int _wrap_sstrm(lua_State *L)
SWIGRUNTIME void SWIG_Lua_pusherrstring(lua_State *L, const char *str)
static swig_type_info * swig_type_initial[]
static swig_cast_info _swigc__p_unsigned_int[]
void plmapstring(PLMAPFORM_callback mapform, PLCHAR_VECTOR name, PLCHAR_VECTOR string, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT_VECTOR plotentries, PLINT nplotentries)
static int _wrap_sfnam(lua_State *L)
static int _wrap_seed(lua_State *L)
static int _wrap_abort(lua_State *L)
static swig_cast_info _swigc__p_PLGraphicsIn[]
static int _wrap_gfnam(lua_State *L)
static int _wrap_sdimap(lua_State *L)
static int _wrap_col0(lua_State *L)
SWIGINTERN void SWIG_Lua_module_end(lua_State *L)
static int _wrap_svect(lua_State *L)
static int _wrap_styl(lua_State *L)
static int _wrap_gstrm(lua_State *L)
static int _wrap_clear(lua_State *L)
static int _wrap_spage(lua_State *L)
static swig_cast_info _swigc__p_f_int_double_p_char_int_p_void__void[]
static int _wrap_vpor(lua_State *L)
static int _wrap_errx(lua_State *L)
static int _wrap_gcol0a(lua_State *L)
static int _wrap_scmap0a(lua_State *L)
static int _wrap_calc_world(lua_State *L)
SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State *L, void *ptr, size_t size, swig_type_info *type)
static int _wrap_sdiplt(lua_State *L)
static int _wrap_string(lua_State *L)
static int _wrap_PLGraphicsIn_wY_set(lua_State *L)
static int _wrap_btime(lua_State *L)
SWIGRUNTIME void * SWIG_Lua_MustGetPtr(lua_State *L, int index, swig_type_info *type, int flags, int argnum, const char *func_name)
SWIGINTERN int SWIG_Lua_set_immutable(lua_State *L)
static int _wrap_env0(lua_State *L)
SWIGINTERN int SWIG_Lua_add_namespace_details(lua_State *L, swig_lua_namespace *ns)
static int _wrap_PLGraphicsIn_subwindow_set(lua_State *L)
SWIGRUNTIME void SWIG_Lua_pushferrstring(lua_State *L, const char *fmt,...)
static int _wrap_ssub(lua_State *L)
SWIGRUNTIME const char * SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name)
static int _wrap_xormod(lua_State *L)
static int _wrap_fill3(lua_State *L)
static int _wrap_syax(lua_State *L)