]> git.saurik.com Git - cycript.git/blame - cycript.hpp
Mostly implemented Struct support.
[cycript.git] / cycript.hpp
CommitLineData
d35a3b07
JF
1#ifndef CYCRIPT_HPP
2#define CYCRIPT_HPP
057f943f
JF
3
4#ifdef __OBJC__
5#include <Foundation/Foundation.h>
6#endif
7
b09da87b 8#include <JavaScriptCore/JavaScript.h>
057f943f
JF
9#include <JavaScriptCore/JSStringRefCF.h>
10
478d4ed0 11#include <apr-1/apr_pools.h>
057f943f 12
478d4ed0 13JSGlobalContextRef CYGetJSContext();
4cf49641 14const char *CYPoolJSONString(apr_pool_t *pool, JSContextRef context, JSValueRef value, JSValueRef *exception);
478d4ed0 15void CYSetArgs(int argc, const char *argv[]);
057f943f 16
d35a3b07 17#endif/*CYCRIPT_HPP*/