Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #ifdef SWIG
- #define SALOON_API
- #else
- #ifdef SALOON_EXPORT
- #define SALOON_API __declspec(dllexport)
- #else
- #define SALOON_API __declspec(dllimport)
- #endif
- #endif
- ---------------------------------------------------------------------------
- #ifdef __cplusplus
- extern "C" {
- #endif
- SWIGINTERN int Swig_var_Window_set(PyObject *_val) {
- {
- void *argp = 0;
- int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_SALOON_API, 0 | 0);
- if (!SWIG_IsOK(res)) {
- SWIG_exception_fail(SWIG_ArgError(res), "in variable '""Window""' of type '""SALOON_API""'");
- }
- if (!argp) {
- SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""Window""' of type '""SALOON_API""'");
- } else {
- SALOON_API * temp;
- temp = reinterpret_cast< SALOON_API * >(argp);
- Window = *temp;
- if (SWIG_IsNewObj(res)) delete temp;
- }
- }
- return 0;
- fail:
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment