-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
24 lines (22 loc) · 895 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
** ADOBE SYSTEMS INCORPORATED
** Copyright 2012 Adobe Systems Incorporated
** All Rights Reserved.
**
** NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the
** terms of the Adobe license agreement accompanying it. If you have received this file from a
** source other than Adobe, then your use, modification, or distribution of it requires the prior
** written permission of Adobe.
*/
#include "AS3/AS3.h"
int main()
{
// We still need a main function for the SWC. this function must be called
// so that all the static init code is executed before any library functions
// are used.
//
// The main function for a library must throw an exception so that it does
// not return normally. Returning normally would cause the static
// destructors to be executed leaving the library in an unuseable state.
AS3_GoAsync();
}