CN102841782B - global variable management method and device - Google Patents

global variable management method and device Download PDF

Info

Publication number
CN102841782B
CN102841782B CN201110171640.5A CN201110171640A CN102841782B CN 102841782 B CN102841782 B CN 102841782B CN 201110171640 A CN201110171640 A CN 201110171640A CN 102841782 B CN102841782 B CN 102841782B
Authority
CN
China
Prior art keywords
global variable
macrodefinition
development platform
write
realized
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110171640.5A
Other languages
Chinese (zh)
Other versions
CN102841782A (en
Inventor
开平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201110171640.5A priority Critical patent/CN102841782B/en
Publication of CN102841782A publication Critical patent/CN102841782A/en
Application granted granted Critical
Publication of CN102841782B publication Critical patent/CN102841782B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

Embodiment of the invention discloses that a kind of global variable management method and device, are related to computer realm, different platform can be made to take unified global variable occupation mode, improve the portability of platform code.The method of the present invention includes:Whether inquiry development platform supports global variable occupation mode;If the development platform supports global variable occupation mode, the statement of the development platform global variable is realized by macrodefinition, defines and calls;If the development platform does not support global variable occupation mode, the structure of storage global variable is then defined for the development platform, the statement of the development platform global variable is realized by macrodefinition and in the form of return function, defines and calls, the return function is the function that global variable is obtained from the structure.Embodiments of the invention are mainly used in during the use of global variable.

Description

Global variable management method and device
Technical field
The present invention relates to computer realm, more particularly to a kind of global variable management method and device.
Background technology
Current terminal development platform is relatively more, and each platform is different to the support pattern of development language global variable, Usual MTK (a kind of cell phone platform of Lian Fake companies exploitation, be widely used in the non-smart mobile phone system of home-made cellphone) platform branch Hold global variable, and the multiple middleware platforms run on MTK, some supports the occupation mode of global variable, another The occupation mode of global variable is not supported then in part.If not supporting global variable occupation mode, the global change in need used Amount, will all be initialised in plateform system environment when program starts, when needing to use, then pass through the public of unification Function interface is obtained.
During stating global variable use in realization, inventor has found that at least there are the following problems in the prior art: Because Part Development platform supports the occupation mode of global variable, Part Development platform does not support the user of global variable then Formula, causes the software of exploitation larger in the implementation difference of different platform, makes the portable poor of platform code.
The content of the invention
In view of this, embodiments of the invention provide a kind of global variable management method and device, can make different platform Unified full dose variable uses mode is taken, the portability of platform code is improved.
To reach above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
On the one hand, embodiments of the invention provide a kind of global variable management method, including:
Whether inquiry development platform supports global variable occupation mode;
If the development platform supports global variable occupation mode, realize that the development platform overall situation becomes by macrodefinition The statement of amount, define and call;
If the development platform does not support global variable occupation mode, for development platform definition storage global variable Structure, realized by macrodefinition and in the form of return function the development platform global variable statement, definition and adjust With the return function is the function that global variable is obtained from the structure.
On the other hand, embodiments of the invention provide a kind of global variable managing device, including:
Query unit, for inquiring about whether development platform supports global variable occupation mode;
First definition unit, global variable occupation mode is supported for inquiring the development platform in the query unit When, the statement of the development platform global variable is realized by macrodefinition, defines and calls;
Second definition unit, global variable user is not supported for inquiring the development platform in the query unit It is the structure that the development platform defines storage global variable during formula, is realized by macrodefinition and in the form of return function The statement of the development platform global variable, define and call, the return function is to obtain global variable from the structure Function.
Relative to prior art, technical scheme provided in an embodiment of the present invention can not support global variable in development platform In the case of occupation mode, by defining the structure of storage global variable for the development platform, by macrodefinition and to return The form of letter in reply number realizes the statement of the development platform global variable, defines and call;Make not support global variable user The development platform of formula and the development platform of support global variable occupation mode are when being stated global variable, being defined and being called Using identical form of Definition, so that different platform can take unified full dose variable uses mode, platform generation is improved The portability of code.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of global variable management method provided in an embodiment of the present invention;
Fig. 2 is the structural framing figure of global variable managing device provided in an embodiment of the present invention;
Fig. 3 is the structural framing figure of another global variable managing device provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Embodiment 1
The embodiment of the present invention provides a kind of global variable management method, as shown in figure 1, the method comprising the steps of 101,102, And 103.
101st, whether inquiry development platform supports global variable occupation mode;If the development platform supports global variable to make With mode, then step 102 is performed;If the development platform does not support global variable occupation mode, step 103 is performed.
102nd, the statement of the development platform global variable realized by macrodefinition, define and call.
Wherein, it is described that the statement of the development platform global variable is realized by macrodefinition, defines and calls and can pass through Following mode realizes, including:
It is described that being claimed as the development platform global variable is realized by macrodefinition:Write in parameter in a macrodefinition list Enter the type and global variable name of global variable, and the write-in statement global variable in the character string of macrodefinition.With the grand of C language Exemplified by definition, the statement that the development platform global variable is realized by macrodefinition is specifically as follows:
#define DECLARE_GLOBE_VARIABLE (type, name) extern type name
, wherein it is desired to illustrate, the set form of the macrodefinition with parameter is:The grand names of #define (parameter list) word Symbol string, for example:#define S (a, b) a*b;Application in a program is area=S (3,2);The then execution of its macrodefinition is: First step area=S (3,2) is changed to area=a*b;Second step area=S (3,2) is changed to area=3*2.It is of the invention real Apply in example, DECLARE_GLOBE_VARIABLE is grand name;The class that parameter list includes type and name, type are global variable Type, name is the variable name of global variable;Character string is extern type name, represents a type of global change of statement Amount.
It is described the development platform global variable is realized by macrodefinition definition be:Write in parameter in a macrodefinition list Enter the initial value of the type, global variable name and the global variable of global variable, and write in the character string of macrodefinition The type of global variable and the assignment to the global variable.It is described to be realized by macrodefinition by taking the macrodefinition of C language as an example The definition of the development platform global variable, is specifically as follows:#define DEFINE_GLOBE_VARIABLE (type, Name, val) type name=val.Wherein, DEFINE_GLOBE_VARIABLE is grand name;Parameter list includes type, name And the initial value that val, val are global variable;Type name=val are character string, are expressed as a type of global variable and assign Initial value.
It is described by macrodefinition realize the development platform global variable call for:Write in parameter in a macrodefinition list Enter global variable name, the global variable name is write in the character string of macrodefinition.It is described logical by taking the macrodefinition of C language as an example Cross macrodefinition and realize calling for the development platform global variable, be specifically as follows:#define GLOBE(name)name;Its In, GLOBE is grand name;Parameter list includes name;Character string is name.
103rd, the structure of storage global variable is defined for the development platform, by macrodefinition and with the shape of return function Formula realizes the statement of the development platform global variable, defines and call, and the return function is to obtain complete from the structure The function of office's variable.
Wherein, it is that the development platform defines the structure for storing global variable, the structure can be expressed as shape Formula, but the embodiment of the present invention is not limited to this, and the form of Definition of any structure can be applied to the embodiment of the present invention In.
typedef struct_GlobeVariable{
int var;
int var2
}GlobeVariable;
Wherein, the statement that the development platform global variable is realized by macrodefinition and in the form of return function, Define and call, can be realized by following mode, including:
It is described that being claimed as the development platform global variable is realized by macrodefinition and in the form of return function:Grand The type and global variable name of global variable are write in the parameter list of definition, and writes to return in the character string of macrodefinition The statement of the global variable of functional form.For example, by taking the macrodefinition of C language as an example, it is described by macrodefinition and with return function Form realize the statement of the development platform global variable, be specifically as follows:
#define DECLARE_GLOBE_VARIABLE (type, name) extern type* FUN_GLOBE_ VARIABLE_##name(QQVOID);
Wherein, DECLARE_GLOBE_VARIABLE is grand name;Parameter list includes type and name;Character string is extern Type*FUN_GLOBE_VARIABLE_##name (QQVOID), FUN_GLOBE_VARIABLE_##name (QQVOID) be from The structure obtains the function of global variable.
The definition that the development platform global variable is realized by macrodefinition and using in the form of return function as:Grand The initial value of the type, global variable name and the global variable of global variable is write in the parameter list of definition, and grand The assignment of the type of global variable and the global variable of return function form is write in the character string of definition.With the grand of C language Exemplified by definition, the definition that the development platform global variable is realized by macrodefinition and in the form of return function, specifically Can be:
#define DEFINE_GLOBE_VARIABLE (type, name, val) type*
FUN_GLOBE_VARIABLE_##name(QQVOID);
Wherein, DEFINE_GLOBE_VARIABLE is grand name;Parameter list includes type, name and val, and val becomes to be global The initial value of amount;Type*FUN_GLOBE_VARIABLE_##name (QQVOID) is character string, is expressed as a type of complete Office's variable assigns initial value.
It is described realized by macrodefinition and in the form of return function the development platform global variable call for:Grand Global variable name is write in the parameter list of definition, the global variable of return function form is write in the character string of macrodefinition. It is described that the development platform global variable is realized by macrodefinition and in the form of return function by taking the macrodefinition of C language as an example Call, be specifically as follows:
#define GLOBE(name)(*FUN_GLOBE_VARIABLE_##name());
Wherein, GLOBE is grand name;Parameter list includes name;Character string is (* FUN_GLOBE_VARIABLE_##name ())。
Further, the FUN_GLOBE_VARIABLE_##name () can be defined as form, including:
type*FUN_GLOBE_VARIABLE_##name(){
Return& (QGetGlobeVar iable ()-> name);
}。
Further, when the development platform operation support global variable occupation mode for not supporting global variable occupation mode is opened When sending out the application program of platform, the global variable letter of the application program for supporting global variable occupation mode development platform is obtained Breath, the global variable information is stored in the structure, described not supporting opening for global variable occupation mode Send out application program described in platform successful operation.
Wherein, the global variable information for the application program for supporting global variable occupation mode development platform, Ke Yitong are obtained Programmer is crossed manually to obtain, can also be by scanning the Code obtaining of application program, in the specific implementation, the embodiment of the present invention pair This is not limited.
In the embodiment of the present invention, in the case of development platform does not support global variable occupation mode, by being opened to be described Hair platform defines the structure of storage global variable, realizes that the development platform is complete by macrodefinition and in the form of return function Office variable statement, define and call;Make not support the development platform of global variable occupation mode and support global variable to use The development platform of mode, identical form of Definition is used when being stated global variable, being defined and being called, so that different Platform can take unified full dose variable uses mode, improve the portability of platform code, reduce multiple exploitations flat Platform code development and the cost of transplanting.
Embodiment 2
The embodiment of the present invention provides a kind of global variable managing device, as shown in Fig. 2 the device includes:Query unit 21, First definition unit 22, the second definition unit 23.
Query unit 21, for inquiring about whether development platform supports global variable occupation mode.
First definition unit 22, supports global variable to use for inquiring the development platform in the query unit 21 During mode, the statement of the development platform global variable is realized by macrodefinition, defines and calls.
Wherein, first definition unit 22 realizes statement, the definition of the development platform global variable by macrodefinition And call and can specifically be realized by following mode, including:
It is described that being claimed as the development platform global variable is realized by macrodefinition:Write in parameter in a macrodefinition list Enter the type and global variable name of global variable, and the write-in statement global variable in the character string of macrodefinition;Wherein, described One definition unit 22 realizes the concrete example of the statement of the development platform global variable by macrodefinition, may be referred to embodiment Corresponding description in step 102 in 1, the embodiment of the present invention will not be described in great detail herein.
It is described the development platform global variable is realized by macrodefinition definition be:Write in parameter in a macrodefinition list Enter the initial value of the type, global variable name and the global variable of global variable, and write in the character string of macrodefinition The type of global variable and the assignment to the global variable;Wherein, first definition unit 22 is realized by macrodefinition The concrete example of the definition of the development platform global variable, may be referred to the corresponding description in the step 102 in embodiment 1, The embodiment of the present invention will not be described in great detail herein.
It is described by macrodefinition realize the development platform global variable call for:Write in parameter in a macrodefinition list Enter global variable name, the global variable name is write in the character string of macrodefinition.Wherein, first definition unit 22 passes through Macrodefinition realizes the concrete example called of the development platform global variable, may be referred in the step 102 in embodiment 1 Corresponding description, the embodiment of the present invention will not be described in great detail herein.
Second definition unit 23, does not support global variable to make for inquiring the development platform in the query unit 21 It is the structure that the development platform defines storage global variable, by macrodefinition and in the form of return function when using mode The statement of the development platform global variable is realized, defines and calls, the return function is to obtain global from the structure The function of variable.
Wherein, second definition unit 23 realizes that the development platform is complete by macrodefinition and in the form of return function The statement of office's variable, define and call and can specifically be realized by following mode, including:
It is described that being claimed as the development platform global variable is realized by macrodefinition and in the form of return function:Grand The type and global variable name of global variable are write in the parameter list of definition, and writes to return in the character string of macrodefinition The statement of the global variable of functional form;Wherein, second definition unit 23 is by macrodefinition and in the form of return function The concrete example of the statement of the development platform global variable is realized, accordingly retouching in the step 103 in embodiment 1 is may be referred to State, the embodiment of the present invention will not be described in great detail herein.
The definition that the development platform global variable is realized by macrodefinition and using in the form of return function as:Grand The initial value of the type, global variable name and the global variable of global variable is write in the parameter list of definition, and grand The assignment of the type of global variable and the global variable of return function form is write in the character string of definition;Wherein, described Two definition units 23 realize the specific of the definition of the development platform global variable by macrodefinition and in the form of return function Citing, may be referred to the corresponding description in the step 103 in embodiment 1, the embodiment of the present invention will not be described in great detail herein.
It is described realized by macrodefinition and in the form of return function the development platform global variable call for:Grand Global variable name is write in the parameter list of definition, the global variable of return function form is write in the character string of macrodefinition. Wherein, second definition unit 23 realizes the development platform global variable by macrodefinition and in the form of return function The concrete example called, may be referred to the corresponding description in the step 103 in embodiment 1, and the embodiment of the present invention herein will no longer Repeat.
Further, as shown in figure 3, the device may also include:Acquiring unit 24, memory cell 25.
Acquiring unit 24, for the development platform operation support global variable of global variable occupation mode ought not to be supported to use During the application program of mode development platform, the overall situation of the application program for supporting global variable occupation mode development platform is obtained Variable information.Wherein, the acquiring unit 24 obtains the overall situation for the application program for supporting global variable occupation mode development platform Variable information, can manually be obtained by programmer, can also be by scanning the Code obtaining of application program, in specific implementation When, the embodiment of the present invention is not limited to this.
Memory cell 25, the global variable information for the acquiring unit 24 to be obtained is stored in the structure In, described not supporting application program described in the development platform successful operation of global variable occupation mode.
In the embodiment of the present invention, in the case of development platform does not support global variable occupation mode, by being opened to be described Hair platform defines the structure of storage global variable, realizes that the development platform is complete by macrodefinition and in the form of return function Office variable statement, define and call;Make not support the development platform of global variable occupation mode and support global variable to use The development platform of mode, identical form of Definition is used when being stated global variable, being defined and being called, so that different Platform can take unified full dose variable uses mode, improve the portability of platform code, reduce multiple exploitations flat Platform code development and the cost of transplanting.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can be borrowed Software is helped to add the mode of required common hardware to realize, naturally it is also possible to which the former is more preferably by hardware, but in many cases Embodiment.Understood based on such, the portion that technical scheme substantially contributes to prior art in other words Dividing can be embodied in the form of software product, and the computer software product is stored in the storage medium that can be read, and such as be counted The floppy disk of calculation machine, hard disk or CD etc., including some instructions to cause a computer equipment (can be personal computer, Server, or the network equipment etc.) perform method described in each embodiment of the invention.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (6)

1. a kind of global variable management method, it is characterised in that including:
Whether inquiry development platform supports global variable occupation mode;
If the development platform supports global variable occupation mode, the development platform global variable is realized by macrodefinition State, define and call;
If the development platform does not support global variable occupation mode, the knot of storage global variable is defined for the development platform Structure body, the statement of the development platform global variable is realized by macrodefinition and in the form of return function, defines and calls, institute It is the function that global variable is obtained from the structure to state return function;
Wherein, when the development platform operation support global variable occupation mode development platform for not supporting global variable occupation mode During application program, the global variable information of the application program for supporting global variable occupation mode development platform is obtained, by institute Global variable information is stated to be stored in the structure, with cause the development platform for not supporting global variable occupation mode into Work(runs the application program.
2. according to the method described in claim 1, it is characterised in that described that the development platform is realized by way of macrodefinition The statement of global variable, define and call including:
It is described that being claimed as the development platform global variable is realized by macrodefinition:Write in parameter in a macrodefinition list complete Office's type of variables and global variable name, and the write-in statement global variable in the character string of macrodefinition;
It is described the development platform global variable is realized by macrodefinition definition be:Write in parameter in a macrodefinition list complete The initial value of office's type of variables, global variable name and the global variable, and write-in is global in the character string of macrodefinition Type of variables and the assignment to the global variable;
It is described by macrodefinition realize the development platform global variable call for:Write in parameter in a macrodefinition list complete Office's variable name, writes the global variable name in the character string of macrodefinition.
3. method according to claim 1 or 2, it is characterised in that described by macrodefinition and in the form of return function Realize the statement of the development platform global variable, define and call including:
It is described that being claimed as the development platform global variable is realized by macrodefinition and in the form of return function:In macrodefinition Parameter list in write-in global variable type and global variable name, and write in the character string of macrodefinition with return function The statement of the global variable of form;
The definition that the development platform global variable is realized by macrodefinition and using in the form of return function as:In macrodefinition Parameter list in the type of write-in global variable, global variable name and the global variable initial value, and in macrodefinition Character string in write-in global variable type and return function form global variable assignment;
It is described realized by macrodefinition and in the form of return function the development platform global variable call for:In macrodefinition Parameter list in write-in global variable name, in the character string of macrodefinition write return function form global variable.
4. a kind of global variable managing device, it is characterised in that including:
Query unit, for inquiring about whether development platform supports global variable occupation mode;
First definition unit, for when the query unit inquires the development platform and supports global variable occupation mode, The statement of the development platform global variable is realized by macrodefinition, defines and calls;
Second definition unit, global variable occupation mode is not supported for inquiring the development platform in the query unit When, it is the structure that the development platform defines storage global variable, institute is realized by macrodefinition and in the form of return function The statement of development platform global variable is stated, defines and calls, the return function is to obtain global variable from the structure Function;
Wherein, in addition to:Acquiring unit, for the development platform operation support overall situation of global variable occupation mode ought not to be supported to become When measuring the application program of occupation mode development platform, the application program of the support global variable occupation mode development platform is obtained Global variable information;Memory cell, the global variable information for the acquiring unit to be obtained is stored in the knot In structure body, described not supporting application program described in the development platform successful operation of global variable occupation mode.
5. device according to claim 4, it is characterised in that first definition unit is used for,
It is described that being claimed as the development platform global variable is realized by macrodefinition:Write in parameter in a macrodefinition list complete Office's type of variables and global variable name, and the write-in statement global variable in the character string of macrodefinition;
It is described the development platform global variable is realized by macrodefinition definition be:Write in parameter in a macrodefinition list complete The initial value of office's type of variables, global variable name and the global variable, and write-in is global in the character string of macrodefinition Type of variables and the assignment to the global variable;
It is described by macrodefinition realize the development platform global variable call for:Write in parameter in a macrodefinition list complete Office's variable name, writes the global variable name in the character string of macrodefinition.
6. the device according to claim 4 or 5, it is characterised in that second definition unit is used for,
It is described that being claimed as the development platform global variable is realized by macrodefinition and in the form of return function:In macrodefinition Parameter list in write-in global variable type and global variable name, and write in the character string of macrodefinition with return function The statement of the global variable of form;
The definition that the development platform global variable is realized by macrodefinition and using in the form of return function as:In macrodefinition Parameter list in the type of write-in global variable, global variable name and the global variable initial value, and in macrodefinition Character string in write-in global variable type and return function form global variable assignment;
It is described realized by macrodefinition and in the form of return function the development platform global variable call for:In macrodefinition Parameter list in write-in global variable name, in the character string of macrodefinition write return function form global variable.
CN201110171640.5A 2011-06-23 2011-06-23 global variable management method and device Active CN102841782B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110171640.5A CN102841782B (en) 2011-06-23 2011-06-23 global variable management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110171640.5A CN102841782B (en) 2011-06-23 2011-06-23 global variable management method and device

Publications (2)

Publication Number Publication Date
CN102841782A CN102841782A (en) 2012-12-26
CN102841782B true CN102841782B (en) 2017-08-01

Family

ID=47369187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110171640.5A Active CN102841782B (en) 2011-06-23 2011-06-23 global variable management method and device

Country Status (1)

Country Link
CN (1) CN102841782B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786525B (en) * 2016-03-23 2019-01-25 鼎点视讯科技有限公司 A kind of process model transplants the method and device of code to threading model
CN106293864B (en) * 2016-08-01 2019-05-14 惠州华阳通用电子有限公司 A kind of transplantation method of inter-vehicle information system development platform functional module
CN106407111B (en) * 2016-09-07 2019-05-17 努比亚技术有限公司 Terminal test device, terminal test equipment and variable maintaining method
CN107450803A (en) * 2017-07-31 2017-12-08 武汉斗鱼网络科技有限公司 The effect implementation method that links and device
CN110705715B (en) * 2019-09-27 2023-04-18 北京迈格威科技有限公司 Hyper-parameter management method and device and electronic equipment
CN111859312B (en) * 2020-08-06 2022-12-30 泉芯集成电路制造(济南)有限公司 Protection method and device for initial parameter value

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1499362A (en) * 2002-10-24 2004-05-26 国际商业机器公司 System and device for addressing global variable by using multiple codes in integrated executable program of isomeric system structure
CN1957328A (en) * 2000-03-20 2007-05-02 凤凰技术有限公司 A software development system that presents a logical view of project components, facilitates their selection, and signals missing links prior to compilation
CN101807157A (en) * 2010-03-30 2010-08-18 南京恩瑞特实业有限公司 Defensive programming method based on function access global variables

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7757225B2 (en) * 2001-06-29 2010-07-13 Microsoft Corporation Linktime recognition of alternative implementations of programmed functionality

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1957328A (en) * 2000-03-20 2007-05-02 凤凰技术有限公司 A software development system that presents a logical view of project components, facilitates their selection, and signals missing links prior to compilation
CN1499362A (en) * 2002-10-24 2004-05-26 国际商业机器公司 System and device for addressing global variable by using multiple codes in integrated executable program of isomeric system structure
CN101807157A (en) * 2010-03-30 2010-08-18 南京恩瑞特实业有限公司 Defensive programming method based on function access global variables

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
AVS-M解码在BREW平台上的实现;张绘国;《电视技术》;20050831;第7页右栏倒数第3-4段、第8页左栏第5段 *
在Windows下用MinGW编译OpenSSL,及OpenSSL静态链接库libcrypto.a使用问题;pgplay;《http://blog.csdn.net/pgplay/article/details/5081768》;20091226;第2页代码 *

Also Published As

Publication number Publication date
CN102841782A (en) 2012-12-26

Similar Documents

Publication Publication Date Title
CN102841782B (en) global variable management method and device
CN108510389B (en) Intelligent contract calling method and device based on block chain and readable storage medium
CN110178357A (en) Cellular service based on cloud in the accessible cloud of remote equipment
CN106598667A (en) Method and device used for restoring kernel vulnerability
CN101276271A (en) Method and interceptor system facing to tangent plane programming
CN102457541A (en) System and method for avoiding resource competition during starting diskless workstation
CN103716346A (en) Management method and device of application on android handset client
CN101404027A (en) File management method, system and equipment
US8141042B2 (en) Extending portability of java code through the use of AOP
CN110308999A (en) Method, storage medium and the mobile terminal for relying on packet are dynamically shared between a kind of application
CN101673204A (en) Dynamic loading method of application program of mobile phone based on arm
CN106909441A (en) The method that a kind of direct I/O of disk based on JVM is accessed
CN102760096A (en) Test data generation method, unit testing method and unit testing system
CN109710235B (en) Transaction implementation system and method based on Java intelligent contract service logic
CN106406828A (en) Method and apparatus for modifying business tool function of JAVA system
CN101236510B (en) EJB cluster failure recovery processing method and system
CN114371914A (en) Container IP address configuration method and device, storage medium and electronic equipment
US10348867B1 (en) Enhanced protocol socket domain
CN102799423A (en) Method and device for implementing dynamic method in JSF (java service face)
CN116760913A (en) Method and system for issuing k8s cluster protocol conversion platform configuration
CN108092946A (en) A kind of method and system for having secure access to network
US20030145011A1 (en) Interface between programming languages and method therefor
CN101325525A (en) Commercial network operating system
CN105740009B (en) Version upgrading method and terminal device
CN103631704B (en) The automatization test system and method for communication equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant