Nothing in any public header ever returned or used an OrcCodeChunk.
#include <orc/orcprogram.h>
#include <orc/orcdebug.h>
+#include <orc/orcinternal.h>
OrcCode *
ORC_BEGIN_DECLS
-typedef struct _OrcCodeChunk OrcCodeChunk;
typedef struct _OrcCodeVariable OrcCodeVariable;
ORC_API OrcCode * orc_code_new (void);
ORC_API void orc_code_free (OrcCode *code);
-#ifdef ORC_ENABLE_UNSTABLE_API
-
-/* FIXME: this is internal API, nothing in the public headers returns an OrcCodeChunk */
-void orc_code_chunk_free (OrcCodeChunk *chunk);
-
-#endif
-
ORC_END_DECLS
#endif
#include <windows.h>
#endif
+#include <orc/orcinternal.h>
#include <orc/orcprogram.h>
#include <orc/orcdebug.h>
void orc_c64x_c_init (void);
void orc_mips_init (void);
+typedef struct _OrcCodeChunk OrcCodeChunk;
+
+/* This is internal API, nothing in the public headers returns an OrcCodeChunk */
+void orc_code_chunk_free (OrcCodeChunk *chunk);
+
extern int _orc_data_cache_size_level1;
extern int _orc_data_cache_size_level2;
extern int _orc_data_cache_size_level3;
/* typedef struct _OrcFixup OrcFixup; */
typedef struct _OrcTarget OrcTarget;
typedef struct _OrcCode OrcCode;
-/* typedef struct _OrcCodeChunk OrcCodeChunk; */
typedef enum {
ORC_COMPILE_RESULT_OK = 0,